aghos: imp doc

This commit is contained in:
Eugene Burkov 2024-10-28 19:41:30 +03:00
parent b91f0e72a7
commit 9417b7dc51

View file

@ -39,6 +39,12 @@ func OpenFile(name string, flag int, perm fs.FileMode) (file *os.File, err error
// Stat is an extension for [os.Stat] that properly handles Windows access
// rights.
//
// Note that on Windows the "other" permission bits combines the access rights
// of any trustee that is neither the owner nor the owning group for the file.
//
// TODO(e.burkov): Inspect the behavior for the World (everyone) well-known
// SID and, perhaps, use it.
func Stat(name string) (fi fs.FileInfo, err error) {
return stat(name)
}