mirror of
https://github.com/zrepl/zrepl.git
synced 2025-06-25 12:11:29 +02: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
|
Id [16]byte // UUID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Direction string
|
||||||
|
|
||||||
|
const (
|
||||||
|
DirectionPush Direction = "push"
|
||||||
|
DirectionPull Direction = "pull"
|
||||||
|
)
|
||||||
|
|
||||||
type FilesystemRequest struct {
|
type FilesystemRequest struct {
|
||||||
Roots []string
|
Roots []string // may be nil, indicating interest in all filesystems
|
||||||
|
Direction Direction
|
||||||
}
|
}
|
||||||
|
|
||||||
type FilesystemVersionsRequest struct {
|
type FilesystemVersionsRequest struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user