You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for publishing this library, Creating this Issue to add some general usage which I didn't see in the README and had to refer the codebase to understand
The additional options needs to be passed in either as a dictionary or as a parameter to the sync function, For example to force create, the statement would look like - sync(source_path, dest_path, "sync", create = True)
Other additional options which involve regexes, It expects a list and the regex is a re.match not re.search so the regex search starts from the start, so for example if you wanted to only include files with extension .py, The statement would be something like sync(source_path, dest_path, "sync", create = True, only = [r".+?\.py"])
The text was updated successfully, but these errors were encountered:
Thanks for publishing this library, Creating this Issue to add some general usage which I didn't see in the README and had to refer the codebase to understand
sync
function, For example to force create, the statement would look like -sync(source_path, dest_path, "sync", create = True)
.py
, The statement would be something likesync(source_path, dest_path, "sync", create = True, only = [r".+?\.py"])
The text was updated successfully, but these errors were encountered: