|
| GitSourceAccessor (ref< GitRepoImpl > repo_, const Hash &rev) |
|
std::string | readBlob (const CanonPath &path, bool symlink) |
|
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 |
|
std::optional< Hash > | getSubmoduleRev (const CanonPath &path) |
|
git_tree_entry * | lookup (const CanonPath &path) |
|
std::optional< Tree > | lookupTree (const CanonPath &path) |
|
git_tree_entry * | need (const CanonPath &path) |
|
std::variant< Tree, Submodule > | getTree (const CanonPath &path) |
|
Blob | getBlob (const CanonPath &path, bool expectSymlink) |
|
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 () |
|
Raw git tree input accessor.