Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Inode ¶
type Inode struct {
sync.RWMutex
Ino uint64 // should never change
Mode fs.FileMode // should never change
Nlink uint64
Size int64
Ctime time.Time // creation time
Atime time.Time // access time
Mtime time.Time // modification time
Dir Directory
}
An Inode represents the basic metadata of a file.
func (*Inode) Link ¶
Link - link adds a directory entry (DirEntry) for the given node (assumed to be a directory) to the provided child Inode.
Click to show internal directories.
Click to hide internal directories.