lib/fs: Cache user lookups (#8496)

This commit is contained in:
Jakob Borg
2022-08-12 07:48:00 +02:00
committed by GitHub
parent 06273875ae
commit eb81f7400c
7 changed files with 85 additions and 16 deletions
+1 -1
View File
@@ -14,5 +14,5 @@ import (
)
func (f *BasicFilesystem) PlatformData(name string) (protocol.PlatformData, error) {
return unixPlatformData(f, name)
return unixPlatformData(f, name, f.userCache, f.groupCache)
}