-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix ftp module import and small changes #1
Conversation
RemieJanssen
commented
Jun 12, 2023
- full path for module import in ftp module
- added CHANGELOG
- added kwargs for mkdir method in filesys classes
- added deletefile method for fs_local class
@@ -152,7 +152,7 @@ def lsfilenames(self, path): | |||
result.append(entry.filename) | |||
return result | |||
|
|||
def mkdir(self, path): | |||
def mkdir(self, path, parents=False): | |||
self.smb_conn.createDirectory(self.share, uxtowin(path)) |
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.
Can we make this adhere to the parents parameter?
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.
should be simple, I copied the implementation of the irods fs. It uses the folderexists method of the respective fs class. Note: this method uses self.exists(path)
for the smb fs, but this exists method does not seem to be implemented.