rpc fixup msising directions filesystemrequest

This commit is contained in:
Christian Schwarz 2017-05-03 17:12:31 +02:00
parent 43f67d2b7c
commit b8e7ddd61f

View File

@ -19,8 +19,16 @@ type RequestHeader struct {
Id [16]byte // UUID
}
type Direction string
const (
DirectionPush Direction = "push"
DirectionPull Direction = "pull"
)
type FilesystemRequest struct {
Roots []string
Roots []string // may be nil, indicating interest in all filesystems
Direction Direction
}
type FilesystemVersionsRequest struct {