Download libs/git-utils/src/index.ts from Leon4gr45/automaker: direct link, hf CLI and curl.
- Browser
- Download file 782 Bytes
-
https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/libs/git-utils/src/index.ts
- Command line
-
hf download hf://spaces/Leon4gr45/automaker/libs/git-utils/src/index.ts
-
curl -L -o index.ts https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/libs/git-utils/src/index.ts
782 Bytes
| /** | |
| * @automaker/git-utils | |
| * Git operations utilities for AutoMaker | |
| */ | |
| // Export command execution utilities | |
| export { execGitCommand } from './exec.js'; | |
| // Export types and constants | |
| export { | |
| BINARY_EXTENSIONS, | |
| GIT_STATUS_MAP, | |
| type FileStatus, | |
| type MergeStateInfo, | |
| } from './types.js'; | |
| // Export status utilities | |
| export { isGitRepo, parseGitStatus, detectMergeState, detectMergeCommit } from './status.js'; | |
| // Export diff utilities | |
| export { | |
| generateSyntheticDiffForNewFile, | |
| appendUntrackedFileDiffs, | |
| listAllFilesInDirectory, | |
| generateDiffsForNonGitDirectory, | |
| getGitRepositoryDiffs, | |
| } from './diff.js'; | |
| // Export conflict utilities | |
| export { getConflictFiles } from './conflict.js'; | |
| // Export branch utilities | |
| export { getCurrentBranch } from './branch.js'; | |