mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-28 01:42:26 +03:00
aghos: imp doc
This commit is contained in:
parent
b91f0e72a7
commit
9417b7dc51
1 changed files with 6 additions and 0 deletions
|
@ -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
|
// Stat is an extension for [os.Stat] that properly handles Windows access
|
||||||
// rights.
|
// 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) {
|
func Stat(name string) (fi fs.FileInfo, err error) {
|
||||||
return stat(name)
|
return stat(name)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue