Documentation ¶
Overview ¶
Package wire is a generated protocol buffer package.
It is generated from these files:
bazil.org/bazil/fs/snap/wire/snap.proto
It has these top-level messages:
Dirent File Dir Snapshot
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct { Manifest *bazil_cas.Manifest `protobuf:"bytes,1,opt,name=manifest" json:"manifest,omitempty"` // If >0, the direntries are guaranteed to be aligned at // 1<<(12+align-1) byte boundaries (that is, minimum alignment is // 4kB). Align uint32 `protobuf:"varint,2,opt,name=align" json:"align,omitempty"` }
func (*Dir) GetManifest ¶
func (*Dir) ProtoMessage ¶
func (*Dir) ProtoMessage()
type Dirent ¶
type Dirent struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` File *File `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"` Dir *Dir `protobuf:"bytes,3,opt,name=dir" json:"dir,omitempty"` }
func (*Dirent) ProtoMessage ¶
func (*Dirent) ProtoMessage()
type File ¶
type File struct {
Manifest *bazil_cas.Manifest `protobuf:"bytes,1,opt,name=manifest" json:"manifest,omitempty"`
}
func (*File) GetManifest ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
type Snapshot ¶
type Snapshot struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The name field of the root directory is empty. Contents *Dirent `protobuf:"bytes,2,opt,name=contents" json:"contents,omitempty"` }
Snapshot as it is stored into CAS.
func (*Snapshot) GetContents ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.