Documentation
¶
Overview ¶
Package unixfs_pb is a generated protocol buffer package.
It is generated from these files:
unixfs.proto
It has these top-level messages:
Data Metadata
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
Type *Data_DataType `protobuf:"varint,1,req,name=Type,enum=unixfs.pb.Data_DataType" json:"Type,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=Data" json:"Data,omitempty"`
Filesize *uint64 `protobuf:"varint,3,opt,name=filesize" json:"filesize,omitempty"`
Blocksizes []uint64 `protobuf:"varint,4,rep,name=blocksizes" json:"blocksizes,omitempty"`
HashType *uint64 `protobuf:"varint,5,opt,name=hashType" json:"hashType,omitempty"`
Fanout *uint64 `protobuf:"varint,6,opt,name=fanout" json:"fanout,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Data) GetType ¶
func (m *Data) GetType() Data_DataType
type Data_DataType ¶
type Data_DataType int32
const ( Data_Raw Data_DataType = 0 Data_Directory Data_DataType = 1 Data_File Data_DataType = 2 Data_Metadata Data_DataType = 3 Data_Symlink Data_DataType = 4 Data_HAMTShard Data_DataType = 5 )
func (Data_DataType) Enum ¶
func (x Data_DataType) Enum() *Data_DataType
func (Data_DataType) String ¶
func (x Data_DataType) String() string
func (*Data_DataType) UnmarshalJSON ¶
func (x *Data_DataType) UnmarshalJSON(data []byte) error
Source Files
¶
- unixfs.pb.go
Click to show internal directories.
Click to hide internal directories.