internal: ReadDir wrapper return fs.DirEntry
test / test (push) Successful in 25s
Details
test / test (push) Successful in 25s
Details
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
8fa791a2f8
commit
3bfe8dbf5d
|
@ -27,7 +27,7 @@ type System interface {
|
||||||
// Lookup provides [user.Lookup].
|
// Lookup provides [user.Lookup].
|
||||||
Lookup(username string) (*user.User, error)
|
Lookup(username string) (*user.User, error)
|
||||||
// ReadDir provides [os.ReadDir].
|
// ReadDir provides [os.ReadDir].
|
||||||
ReadDir(name string) ([]os.DirEntry, error)
|
ReadDir(name string) ([]fs.DirEntry, error)
|
||||||
// Stat provides [os.Stat].
|
// Stat provides [os.Stat].
|
||||||
Stat(name string) (fs.FileInfo, error)
|
Stat(name string) (fs.FileInfo, error)
|
||||||
// Open provides [os.Open]
|
// Open provides [os.Open]
|
||||||
|
|
Loading…
Reference in New Issue