about summary refs log tree commit diff stats
path: root/worker/types/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r--worker/types/messages.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index 69df6ca..27937ee 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -63,6 +63,11 @@ type ListDirectories struct {
 	Message
 }
 
+type OpenDirectory struct {
+	Message
+	Directory string
+}
+
 // Messages
 
 type CertificateApprovalRequest struct {
@@ -75,3 +80,11 @@ type Directory struct {
 	Attributes []string
 	Name       string
 }
+
+type DirectoryInfo struct {
+	Message
+	ReadOnly bool
+	Flags    []string
+
+	Exists, Recent, Unseen int
+}