- 
                Notifications
    You must be signed in to change notification settings 
- Fork 837
ObjectClient List refactoring #3238
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
Conversation
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
| /cc @sandeepsukhani since Loki uses this. | 
Signed-off-by: Peter Štibraný <[email protected]>
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.
A small suggested change in FS object client otherwise it LGTM.
Signed-off-by: Peter Štibraný <[email protected]>
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.
LGTM!
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.
Few final nits!
Signed-off-by: Peter Štibraný <[email protected]>
| Addressed remaining comments. I've also copied  | 
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
What this PR does: This PR refactors
ObjectClientinterface to explicitly passdelimitertoListmethod. Previously delimiter was property ofObjectClientpassed to it when created, but that doesn't work if code usingObjectClientwants to do both recursive and non-recursive calls.This PR also changes
FSObjectClientsuch that it always expects paths using/separator, but maps it to\on Windows internally. Code usingFSObjectClientwill only see/returned.This is a pre-requisite for PR #3235.
Checklist
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]