Documentation ¶
Index ¶
- type DirectoryHeader
- func (*DirectoryHeader) Descriptor() ([]byte, []int)
- func (m *DirectoryHeader) GetNumEntries() int64
- func (m *DirectoryHeader) GetPath() string
- func (*DirectoryHeader) ProtoMessage()
- func (m *DirectoryHeader) Reset()
- func (m *DirectoryHeader) String() string
- func (m *DirectoryHeader) XXX_DiscardUnknown()
- func (m *DirectoryHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DirectoryHeader) XXX_Merge(src proto.Message)
- func (m *DirectoryHeader) XXX_Size() int
- func (m *DirectoryHeader) XXX_Unmarshal(b []byte) error
- type DirectoryInfo
- func (*DirectoryInfo) Descriptor() ([]byte, []int)
- func (m *DirectoryInfo) GetPath() string
- func (*DirectoryInfo) ProtoMessage()
- func (m *DirectoryInfo) Reset()
- func (m *DirectoryInfo) String() string
- func (m *DirectoryInfo) XXX_DiscardUnknown()
- func (m *DirectoryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DirectoryInfo) XXX_Merge(src proto.Message)
- func (m *DirectoryInfo) XXX_Size() int
- func (m *DirectoryInfo) XXX_Unmarshal(b []byte) error
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)
- func (m *FileInfo) GetLastModifiedTime() int64
- func (m *FileInfo) GetPath() string
- func (m *FileInfo) GetSize() int64
- func (*FileInfo) ProtoMessage()
- func (m *FileInfo) Reset()
- func (m *FileInfo) String() string
- func (m *FileInfo) XXX_DiscardUnknown()
- func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileInfo) XXX_Merge(src proto.Message)
- func (m *FileInfo) XXX_Size() int
- func (m *FileInfo) XXX_Unmarshal(b []byte) error
- type ListFileEntry
- func (*ListFileEntry) Descriptor() ([]byte, []int)
- func (m *ListFileEntry) GetDirectoryHeader() *DirectoryHeader
- func (m *ListFileEntry) GetDirectoryInfo() *DirectoryInfo
- func (m *ListFileEntry) GetEntry() isListFileEntry_Entry
- func (m *ListFileEntry) GetFileInfo() *FileInfo
- func (*ListFileEntry) ProtoMessage()
- func (m *ListFileEntry) Reset()
- func (m *ListFileEntry) String() string
- func (m *ListFileEntry) XXX_DiscardUnknown()
- func (m *ListFileEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListFileEntry) XXX_Merge(src proto.Message)
- func (*ListFileEntry) XXX_OneofWrappers() []interface{}
- func (m *ListFileEntry) XXX_Size() int
- func (m *ListFileEntry) XXX_Unmarshal(b []byte) error
- type ListFileEntry_DirectoryHeader
- type ListFileEntry_DirectoryInfo
- type ListFileEntry_FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryHeader ¶
type DirectoryHeader struct { // The full path of the directory in the format used by the local OS. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The number of list file entries, each representing a file or directory // present in the directory specified by path, that follow this header. NumEntries int64 `protobuf:"varint,2,opt,name=num_entries,json=numEntries,proto3" json:"num_entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Contains information about the directory that's being listed. The contents (files and directories) of the directory will appear below the DirectoryHeader in the list file.
func (*DirectoryHeader) Descriptor ¶
func (*DirectoryHeader) Descriptor() ([]byte, []int)
func (*DirectoryHeader) GetNumEntries ¶
func (m *DirectoryHeader) GetNumEntries() int64
func (*DirectoryHeader) GetPath ¶
func (m *DirectoryHeader) GetPath() string
func (*DirectoryHeader) ProtoMessage ¶
func (*DirectoryHeader) ProtoMessage()
func (*DirectoryHeader) Reset ¶
func (m *DirectoryHeader) Reset()
func (*DirectoryHeader) String ¶
func (m *DirectoryHeader) String() string
func (*DirectoryHeader) XXX_DiscardUnknown ¶
func (m *DirectoryHeader) XXX_DiscardUnknown()
func (*DirectoryHeader) XXX_Marshal ¶
func (m *DirectoryHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DirectoryHeader) XXX_Merge ¶
func (m *DirectoryHeader) XXX_Merge(src proto.Message)
func (*DirectoryHeader) XXX_Size ¶
func (m *DirectoryHeader) XXX_Size() int
func (*DirectoryHeader) XXX_Unmarshal ¶
func (m *DirectoryHeader) XXX_Unmarshal(b []byte) error
type DirectoryInfo ¶
type DirectoryInfo struct { // The full path of the directory in the format used by the local OS. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a single directory's metadata.
func (*DirectoryInfo) Descriptor ¶
func (*DirectoryInfo) Descriptor() ([]byte, []int)
func (*DirectoryInfo) GetPath ¶
func (m *DirectoryInfo) GetPath() string
func (*DirectoryInfo) ProtoMessage ¶
func (*DirectoryInfo) ProtoMessage()
func (*DirectoryInfo) Reset ¶
func (m *DirectoryInfo) Reset()
func (*DirectoryInfo) String ¶
func (m *DirectoryInfo) String() string
func (*DirectoryInfo) XXX_DiscardUnknown ¶
func (m *DirectoryInfo) XXX_DiscardUnknown()
func (*DirectoryInfo) XXX_Marshal ¶
func (m *DirectoryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DirectoryInfo) XXX_Merge ¶
func (m *DirectoryInfo) XXX_Merge(src proto.Message)
func (*DirectoryInfo) XXX_Size ¶
func (m *DirectoryInfo) XXX_Size() int
func (*DirectoryInfo) XXX_Unmarshal ¶
func (m *DirectoryInfo) XXX_Unmarshal(b []byte) error
type FileInfo ¶
type FileInfo struct { // Full path of the file in the format used by the local OS. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Last modified time of the file in seconds since the epoch. LastModifiedTime int64 `protobuf:"varint,2,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // The size of the file in bytes. Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a single file’s metadata.
func (*FileInfo) Descriptor ¶
func (*FileInfo) GetLastModifiedTime ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) XXX_DiscardUnknown ¶
func (m *FileInfo) XXX_DiscardUnknown()
func (*FileInfo) XXX_Marshal ¶
func (*FileInfo) XXX_Unmarshal ¶
type ListFileEntry ¶
type ListFileEntry struct { // Types that are valid to be assigned to Entry: // *ListFileEntry_FileInfo // *ListFileEntry_DirectoryInfo // *ListFileEntry_DirectoryHeader Entry isListFileEntry_Entry `protobuf_oneof:"entry"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List File Entry specification.
func (*ListFileEntry) Descriptor ¶
func (*ListFileEntry) Descriptor() ([]byte, []int)
func (*ListFileEntry) GetDirectoryHeader ¶
func (m *ListFileEntry) GetDirectoryHeader() *DirectoryHeader
func (*ListFileEntry) GetDirectoryInfo ¶
func (m *ListFileEntry) GetDirectoryInfo() *DirectoryInfo
func (*ListFileEntry) GetEntry ¶
func (m *ListFileEntry) GetEntry() isListFileEntry_Entry
func (*ListFileEntry) GetFileInfo ¶
func (m *ListFileEntry) GetFileInfo() *FileInfo
func (*ListFileEntry) ProtoMessage ¶
func (*ListFileEntry) ProtoMessage()
func (*ListFileEntry) Reset ¶
func (m *ListFileEntry) Reset()
func (*ListFileEntry) String ¶
func (m *ListFileEntry) String() string
func (*ListFileEntry) XXX_DiscardUnknown ¶
func (m *ListFileEntry) XXX_DiscardUnknown()
func (*ListFileEntry) XXX_Marshal ¶
func (m *ListFileEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListFileEntry) XXX_Merge ¶
func (m *ListFileEntry) XXX_Merge(src proto.Message)
func (*ListFileEntry) XXX_OneofWrappers ¶
func (*ListFileEntry) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ListFileEntry) XXX_Size ¶
func (m *ListFileEntry) XXX_Size() int
func (*ListFileEntry) XXX_Unmarshal ¶
func (m *ListFileEntry) XXX_Unmarshal(b []byte) error
type ListFileEntry_DirectoryHeader ¶
type ListFileEntry_DirectoryHeader struct {
DirectoryHeader *DirectoryHeader `protobuf:"bytes,3,opt,name=directory_header,json=directoryHeader,proto3,oneof"`
}
type ListFileEntry_DirectoryInfo ¶
type ListFileEntry_DirectoryInfo struct {
DirectoryInfo *DirectoryInfo `protobuf:"bytes,2,opt,name=directory_info,json=directoryInfo,proto3,oneof"`
}
type ListFileEntry_FileInfo ¶
type ListFileEntry_FileInfo struct {
FileInfo *FileInfo `protobuf:"bytes,1,opt,name=file_info,json=fileInfo,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.