diff options
author | Ben Burwell <ben@benburwell.com> | 2019-07-04 22:34:20 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-07-04 22:36:33 -0400 |
commit | 6574dedd8a4afdaedd3677283955a866214bd99a (patch) | |
tree | f5339b492ec7cfcbdefd4be96cea1bd177bfabea /worker/types | |
parent | dccdea1e026edc2bc9c5dc27604e85ce333d65bc (diff) |
Remove unused fields from Directory and DirectoryInfo
As it turns out, the only fields of these messages that the UI cares
about (right now) is the name.
Diffstat (limited to 'worker/types')
-rw-r--r-- | worker/types/messages.go | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go index 3d2bd05..761290f 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -139,17 +139,12 @@ type AppendMessage struct { type Directory struct { Message - Attributes []string - Name string + Name string } type DirectoryInfo struct { Message - Flags []string - Name string - ReadOnly bool - - Exists, Recent, Unseen int + Name string } type DirectoryContents struct { |