hundreds-father-404
10/08/2020, 8:38 PMstripped_sources = await Get(Digest, RemovePrefix(sources.snapshot.digest, "a/b/c")
result = await Get(ProcessResult, PexProcess(.., input_digest=stripped_sources)
You can add back a prefix on the resulting digest, too.
await Get(Digest, AddPrefix(result.output_digest, "a/b/c")