From 6574dedd8a4afdaedd3677283955a866214bd99a Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Thu, 4 Jul 2019 22:34:20 -0400 Subject: 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. --- worker/types/messages.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'worker/types') 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 { -- cgit v1.2.3