|
|
| LocalStoreAccessor (ref< LocalFSStore > store) |
|
kj::Promise< Result< Path > > | toRealPath (const Path &path, bool requireValidPath=true) |
| kj::Promise< Result< FSAccessor::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::LocalStoreAccessor::readDirectory |
( |
const Path & | path | ) |
|
|
inlineoverridevirtual |
◆ readFile()
| kj::Promise< Result< std::string > > nix::LocalStoreAccessor::readFile |
( |
const Path & | path, |
|
|
bool | requireValidPath = true ) |
|
inlineoverridevirtual |
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::LocalStoreAccessor::readLink |
( |
const Path & | path | ) |
|
|
inlineoverridevirtual |
◆ stat()
The documentation for this struct was generated from the following file:
- lix/libstore/local-fs-store.cc