mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 00:13:52 +01:00
rpc fixup msising directions filesystemrequest
This commit is contained in:
parent
43f67d2b7c
commit
b8e7ddd61f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user