Skip to content
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

Add RemoveDirOrFile grpc method #263

Merged
merged 3 commits into from
Nov 26, 2020
Merged

Add RemoveDirOrFile grpc method #263

merged 3 commits into from
Nov 26, 2020

Conversation

dmerrill6
Copy link
Contributor

@dmerrill6 dmerrill6 commented Nov 24, 2020

[ch20270]

@@ -703,3 +703,24 @@ func (s *Space) addFile(ctx context.Context, sourcePath string, targetPath strin
Bytes: fileSize,
}, err
}

// Removes a file or directory from a bucket
// Note: If removing a file a user has been shared, it should remove themselves as a member instead of removing the actual file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should remove themselves as a member instead of removing the actual file.

@dmerrill6 Are you still going to work on this? I don't think b.DeleteDirOrFile() does this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it was badly explained. I meant there should be another method to do that call.
I'll update that comment

@dmerrill6 dmerrill6 merged commit 20167d2 into develop Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants