Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
Eelco Dolstra 2023-10-20 12:36:18 +02:00 committed by GitHub
parent 5be7705ddf
commit df10dc630f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,9 +65,11 @@ struct SourceAccessor
PathFilter & filter = defaultPathFilter, PathFilter & filter = defaultPathFilter,
HashType ht = htSHA256); HashType ht = htSHA256);
/* Return a corresponding path in the root filesystem, if /**
possible. This is only possible for filesystems that are * Return a corresponding path in the root filesystem, if
materialized in the root filesystem. */ * possible. This is only possible for filesystems that are
* materialized in the root filesystem.
*/
virtual std::optional<CanonPath> getPhysicalPath(const CanonPath & path) virtual std::optional<CanonPath> getPhysicalPath(const CanonPath & path)
{ return std::nullopt; } { return std::nullopt; }