fileset = EagerFilesetWithSpec(rel_root="foo",
// Glob spec is relative to build root
filespec={"globs": ["foo/foo/a.txt"]},
// files are relative to `rel_root`
files=["foo/a.txt"],
files_hash={"foo/a.txt": b"12345"})
After Change
digest = str("56001a7e48555f156420099a99da60a7a83acc90853046709341bf9f00a6f944")
want_snapshot = Snapshot(
DirectoryDigest(digest, 77),
(Path("foo/foo/a.txt", stat=File("foo/foo/a.txt")),)
)
// We explicitly pass a None scheduler because we expect no scheduler lookups to be required