-
Notifications
You must be signed in to change notification settings - Fork 4
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
write tests and fixed some bugs. #2
Conversation
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.
match should be converted to a class :)
consider using different name for match in method:
target, dest, src
and methods:
target.is_root()
target.is_directory()
target.is_file()
target.is_bucket()
properties:
target.relative_path
target.bucket
target.prefix
target.filename
opened task #10
DONT ADD NEW THINGS TO THIS BRANCH AS ITS DIFFICULT ALREADY READING ALL. |
self._extract_metadata(details.metadata) | ||
|
||
metadata = { | ||
"is_dir": details.is_dir, |
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.
Where is_dir
was added to the details? I can't find it
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.
minio's stat_object return data like is_dir and created_at modified_at and more.
list_objects add this data to the object aswell.
8384619
to
98b84d6
Compare
No description provided.