|
bool | operator== (const MemorySourceAccessor &) const noexcept=default |
|
bool | operator< (const MemorySourceAccessor &other) const noexcept |
|
std::string | readFile (const CanonPath &path) override |
|
bool | pathExists (const CanonPath &path) override |
|
std::optional< Stat > | maybeLstat (const CanonPath &path) override |
|
DirEntries | readDirectory (const CanonPath &path) override |
|
std::string | readLink (const CanonPath &path) override |
|
File * | open (const CanonPath &path, std::optional< File > create) |
|
SourcePath | addFile (CanonPath path, std::string &&contents) |
|
virtual void | readFile (const CanonPath &path, Sink &sink, std::function< void(uint64_t)> sizeCallback=[](uint64_t size){}) |
|
Stat | lstat (const CanonPath &path) |
|
virtual void | dumpPath (const CanonPath &path, Sink &sink, PathFilter &filter=defaultPathFilter) |
|
Hash | hashPath (const CanonPath &path, PathFilter &filter=defaultPathFilter, HashAlgorithm ha=HashAlgorithm::SHA256) |
|
virtual std::optional< std::filesystem::path > | getPhysicalPath (const CanonPath &path) |
|
bool | operator== (const SourceAccessor &x) const |
|
auto | operator<=> (const SourceAccessor &x) const |
|
void | setPathDisplay (std::string displayPrefix, std::string displaySuffix="") |
|
virtual std::string | showPath (const CanonPath &path) |
|
CanonPath | resolveSymlinks (const CanonPath &path, SymlinkResolution mode=SymlinkResolution::Full) |
|
virtual std::optional< time_t > | getLastModified () |
|
An source accessor for an in-memory file system.