package
Version:
v0.170.1-fips1
Opens a new window with list of versions in this module.
Published: Nov 7, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
Inject will inject this filesystem Service into the context.
ReadFile will open the file from the service and read
the entire contents.
Stat will retrieve the os.FileInfo for a file.
type Dependency struct {
FS Service
}
Dependency will inject the filesystem Service into the dependency chain.
Inject will inject the filesystem Service into the dependency chain.
File is an interface for interacting with a file.
OpenFile will open the file from the service.
Service is the service for accessing the filesystem.
SystemFS implements the filesystem.Service by proxying all requests
to the filesystem.
Get will retrieve a filesystem Service from the context.Context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.