aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-25 14:56:29 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-25 14:56:29 +0900
commit3bfe8dbf5db5508b2db960de27246fd80df4c523 (patch)
treebf373f634a85f7a68d28840d67315d90424abd83 /internal
parent8fa791a2f80fcea45d04ca41a088f5d92f74ba8e (diff)
internal: ReadDir wrapper return fs.DirEntry
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal')
-rw-r--r--internal/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/system.go b/internal/system.go
index 5f5e76bc..a8d915ce 100644
--- a/internal/system.go
+++ b/internal/system.go
@@ -27,7 +27,7 @@ type System interface {
// Lookup provides [user.Lookup].
Lookup(username string) (*user.User, error)
// ReadDir provides [os.ReadDir].
- ReadDir(name string) ([]os.DirEntry, error)
+ ReadDir(name string) ([]fs.DirEntry, error)
// Stat provides [os.Stat].
Stat(name string) (fs.FileInfo, error)
// Open provides [os.Open]