The BasicFilesystem implements all aspects by delegating to package os. All paths are relative to the root and cannot (should not) escape the root directory.
| 47 | // The BasicFilesystem implements all aspects by delegating to package os. |
| 48 | // All paths are relative to the root and cannot (should not) escape the root directory. |
| 49 | type BasicFilesystem struct { |
| 50 | root string |
| 51 | junctionsAsDirs bool |
| 52 | options []Option |
| 53 | userCache *userCache |
| 54 | groupCache *groupCache |
| 55 | } |
| 56 | |
| 57 | type ( |
| 58 | userCache = valueCache[string, *user.User] |
nothing calls this directly
no outgoing calls
no test coverage detected