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

DELE and RETR #7

Merged
merged 1 commit into from
Jun 13, 2016
Merged

DELE and RETR #7

merged 1 commit into from
Jun 13, 2016

Conversation

shppr
Copy link
Collaborator

@shppr shppr commented Jun 11, 2016

along with adding a bool flag to db.List, and checking for deleted stuff in db.Stat

@@ -254,8 +254,10 @@ func Stat(username string) (int, int) {
log.Error(err)
return nil
}
cnt++
size += len(env.Body)
if !env.Deleted {
Copy link
Owner

Choose a reason for hiding this comment

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

No showDeleted here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not needed because RSET handles it after using LIST with the flag set to true

@shppr shppr merged commit 77bdf6e into master Jun 13, 2016
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