Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option to set a limit for MediaCollections (#1533)
* Added option to set a limit for MediaCollections with BC for singleFile() method * Stylefix * Changed type declaration for * Changed type declaration for * Small change to the docs to improve a sentence * Updated docs: now has a seperate example for onlyKeepLatest * Assert that the first file no longer is in the collection after adding the Nth+1 file * Stylefix
- Loading branch information
1 parent
7e5b22f
commit dcdb910
Showing
4 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dcdb910
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been well tested? It does sound pretty dangerous and I don't want to lose files in my collection.
Thanks.