We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8239934 commit 9e253b8Copy full SHA for 9e253b8
llvm/tools/llvm-cas/llvm-cas.cpp
@@ -200,8 +200,9 @@ int listTree(ObjectStore &CAS, const CASID &ID) {
200
int listTreeRecursively(ObjectStore &CAS, const CASID &ID) {
201
ExitOnError ExitOnErr("llvm-cas: ls-tree-recursively: ");
202
TreeSchema Schema(CAS);
203
+ ObjectProxy TreeN = ExitOnErr(CAS.getProxy(ID));
204
ExitOnErr(Schema.walkFileTreeRecursively(
- CAS, *CAS.getReference(ID),
205
+ CAS, TreeN.getRef(),
206
[&](const NamedTreeEntry &Entry, Optional<TreeProxy> Tree) -> Error {
207
if (Entry.getKind() != TreeEntry::Tree) {
208
Entry.print(llvm::outs(), CAS);
0 commit comments