Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { *sync.RWMutex Id uint64 Name string Mode FileMode Size int64 Version uint64 Atime time.Time Mtime time.Time Parent *File Children []*File }
func (*File) MarshalJSON ¶
func (*File) UnmarshalJSON ¶
TODO this doesn't work. It will create a separate lock for each new file even fi they have the same ID
Click to show internal directories.
Click to hide internal directories.