Skip to content

Commit

Permalink
rename transform function
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed May 27, 2022
1 parent 02f28e5 commit c9f555c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/src/repository/model/collect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type PathItem = Resource & {
isTracked: boolean
}

const transform = (
const transformToAbsTree = (
dvcRoot: string,
acc: Map<string, Set<string>>,
trackedRelPaths: Set<string>
Expand Down Expand Up @@ -51,7 +51,7 @@ export const collectTree = (
}
}

return transform(dvcRoot, relTree, trackedRelPaths)
return transformToAbsTree(dvcRoot, relTree, trackedRelPaths)
}

const collectMissingParents = (acc: string[], absPath: string) => {
Expand Down

0 comments on commit c9f555c

Please sign in to comment.