- 
                Notifications
    You must be signed in to change notification settings 
- Fork 9
Extract folder scanning module #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| InvalidArgument, | ||
| IncompleteSync, | ||
| UnSyncableFilename, | ||
| UnsupportedFilename, | 
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.
there should be a v2 test which makes sure we return UnSyncableFilename in v2
| [ | ||
| "B2SyncPath(inner/a.txt, [('a2', 2000, 'upload'), ('a1', 1000, 'upload')])", | ||
| "B2SyncPath(inner/b.txt, [('b2', 1999, 'upload'), ('b1', 1001, 'upload')])" | ||
| "B2Path(inner/a.txt, [('a2', 2000, 'upload'), ('a1', 1000, 'upload')])", | 
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.
I think it should be kept for v0, v1 and v2
| from b2sdk.scan.folder import AbstractFolder | ||
| from b2sdk.scan.folder import B2Folder | ||
| from b2sdk.scan.folder import LocalFolder | ||
| from b2sdk.scan.folder_parser import parse_folder | 
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.
I think in v2 both parse_sync_folder and parse_folder should be available and there should be a test that makes sure we have it
Co-authored-by: Paweł Polewicz <[email protected]>
I'm not sure about this.

B2PathandB2SyncPathare aliases, but string representation changed, is it a backwards-incompatible change?