Skip to content

Commit

Permalink
Updated docstring to clarify actual usage (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsatch authored Feb 5, 2022
1 parent 1efb5c5 commit ec44d15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions organize/filters/duplicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ class Duplicate(Filter):
- duplicate
actions:
- echo: "{path} is a duplicate of {duplicate}"
Note:
This filter uses the glob.glob() function to retrieve the list of files. Duplicate list could be returned in arbitrary order depending on the filesystem and the Python glob.glob() function itself. If you have several duplicates of the same file in a folder, you can get arbitrary sorting of results. For a detailed explanation and proposed fix check: https://github.com/tfeldmann/organize/issues/158
"""

def __init__(self) -> None:
Expand Down

0 comments on commit ec44d15

Please sign in to comment.