// Getpagesize returns the underlying system's memory page size. func Getpagesize() int { … } type File … type FileInfo … type FileMode … const ModeDir … const ModeAppend … const ModeExclusive … const ModeTemporary … const ModeSymlink … const ModeDevice … const ModeNamedPipe … const ModeSocket … const ModeSetuid … const ModeSetgid … const ModeCharDevice … const ModeSticky … const ModeIrregular … const ModeType … const ModePerm … func (fs *fileStat) Name() string { … } func (fs *fileStat) IsDir() bool { … } // SameFile reports whether fi1 and fi2 describe the same file. // For example, on Unix this means that the device and inode fields // of the two underlying structures are identical; on other systems // the decision may be based on the path names. // SameFile only applies to results returned by this package's [Stat]. // It returns false in other cases. func SameFile(fi1, fi2 FileInfo) bool { … }