Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move branch cache files to util/cache (#18646)
- Loading branch information
1 parent
a9922f5
commit f04a7c7
Showing
15 changed files
with
79 additions
and
84 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
...util/git/behind-base-branch-cache.spec.ts → ...l/cache/branch/behind-base-branch.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
lib/util/git/behind-base-branch-cache.ts → lib/util/cache/branch/behind-base-branch.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 6 additions & 9 deletions
15
lib/util/git/conflicts-cache.spec.ts → lib/util/cache/branch/conflict.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
lib/util/git/conflicts-cache.ts → lib/util/cache/branch/conflict.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export { | ||
deleteCachedBranchParentShaResult, | ||
getCachedBranchParentShaResult, | ||
} from './parent-sha'; | ||
export { setBranchNewCommit } from './set-branch-commit'; | ||
export { | ||
getCachedBehindBaseResult, | ||
setCachedBehindBaseResult, | ||
} from './behind-base-branch'; | ||
export { getCachedConflictResult, setCachedConflictResult } from './conflict'; | ||
export { getCachedModifiedResult, setCachedModifiedResult } from './modified'; |
15 changes: 6 additions & 9 deletions
15
lib/util/git/modified-cache.spec.ts → lib/util/cache/branch/modified.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
lib/util/git/modified-cache.ts → lib/util/cache/branch/modified.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
lib/util/git/parent-sha-cache.spec.ts → lib/util/cache/branch/parent-sha.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/util/git/parent-sha-cache.ts → lib/util/cache/branch/parent-sha.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
lib/util/git/set-branch-commit.spec.ts → ...il/cache/branch/set-branch-commit.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
lib/util/git/set-branch-commit.ts → lib/util/cache/branch/set-branch-commit.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters