Documentation
¶
Index ¶
Constants ¶
const ( FileServerStatusHealthy = "healthy" FileServerStatusStale = "stale" )
Represents a fileserver stores add and usercount
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FID ¶
FID represents a File Identifier
func FIDFromProto ¶
FIDFromProto creates domain FID from protobuf FID
type FileServerInfo ¶
type Inode ¶
type Inode struct {
FID *FID
Type InodeType
Name string
OSPath string
ACL ACL
Children []*FID // for directories
Size uint64 // for files
Parent *Inode
}
Inode represents a file or directory
type InodeType ¶
type InodeType int
InodeType represents file or directory
func InodeTypeFromProto ¶
InodeTypeFromProto converts from protobuf type