|
|
| RemoteFSAccessor (ref< Store > store, const Path &cacheDir="") |
| kj::Promise< Result< Stat > > | stat (const Path &path) override |
| kj::Promise< Result< StringSet > > | readDirectory (const Path &path) override |
| kj::Promise< Result< std::string > > | readFile (const Path &path, bool requireValidPath=true) override |
| kj::Promise< Result< std::string > > | readLink (const Path &path) override |
|
| enum | Type { tMissing
, tRegular
, tSymlink
, tDirectory
} |
◆ readDirectory()
| kj::Promise< Result< StringSet > > nix::RemoteFSAccessor::readDirectory |
( |
const Path & | path | ) |
|
|
overridevirtual |
◆ readFile()
| kj::Promise< Result< std::string > > nix::RemoteFSAccessor::readFile |
( |
const Path & | path, |
|
|
bool | requireValidPath = true ) |
|
overridevirtual |
Read a file inside the store.
If requireValidPath is set to true (the default), the path must be inside a valid store path, otherwise it just needs to be physically present (but not necessarily properly registered)
Implements nix::FSAccessor.
◆ readLink()
| kj::Promise< Result< std::string > > nix::RemoteFSAccessor::readLink |
( |
const Path & | path | ) |
|
|
overridevirtual |
◆ stat()
The documentation for this class was generated from the following files: