@statewalker/vcs-commands 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/commands/add-command.d.ts.map +1 -1
- package/dist/commands/add-patch/patch-backend.d.ts +2 -0
- package/dist/commands/add-patch/patch-backend.d.ts.map +1 -1
- package/dist/commands/add-patch/patch-modes.d.ts +6 -2
- package/dist/commands/add-patch/patch-modes.d.ts.map +1 -1
- package/dist/commands/add-patch/patch-session.d.ts +4 -0
- package/dist/commands/add-patch/patch-session.d.ts.map +1 -1
- package/dist/commands/am/am-command.d.ts +41 -2
- package/dist/commands/am/am-command.d.ts.map +1 -1
- package/dist/commands/apply/index.d.ts +1 -1
- package/dist/commands/apply/index.d.ts.map +1 -1
- package/dist/commands/archive/archive-command.d.ts +169 -0
- package/dist/commands/archive/archive-command.d.ts.map +1 -0
- package/dist/commands/archive/archive-entry.d.ts +60 -0
- package/dist/commands/archive/archive-entry.d.ts.map +1 -0
- package/dist/commands/archive/index.d.ts +8 -0
- package/dist/commands/archive/index.d.ts.map +1 -0
- package/dist/commands/archive/remote-archive-command.d.ts +56 -0
- package/dist/commands/archive/remote-archive-command.d.ts.map +1 -0
- package/dist/commands/archive/tar-archive.d.ts +31 -0
- package/dist/commands/archive/tar-archive.d.ts.map +1 -0
- package/dist/commands/archive/tar-commit-id.d.ts +13 -0
- package/dist/commands/archive/tar-commit-id.d.ts.map +1 -0
- package/dist/commands/archive/upload-archive-writer.d.ts +48 -0
- package/dist/commands/archive/upload-archive-writer.d.ts.map +1 -0
- package/dist/commands/archive/zip-archive.d.ts +42 -0
- package/dist/commands/archive/zip-archive.d.ts.map +1 -0
- package/dist/commands/attributes-source.d.ts +10 -0
- package/dist/commands/attributes-source.d.ts.map +1 -1
- package/dist/commands/blame-command.d.ts +43 -1
- package/dist/commands/blame-command.d.ts.map +1 -1
- package/dist/commands/bundle/bundle-create-command.d.ts +67 -0
- package/dist/commands/bundle/bundle-create-command.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-format.d.ts +89 -0
- package/dist/commands/bundle/bundle-format.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-list.d.ts +92 -0
- package/dist/commands/bundle/bundle-list.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-read-commands.d.ts +81 -0
- package/dist/commands/bundle/bundle-read-commands.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-support.d.ts +32 -0
- package/dist/commands/bundle/bundle-support.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-transport.d.ts +38 -0
- package/dist/commands/bundle/bundle-transport.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-uri-host.d.ts +43 -0
- package/dist/commands/bundle/bundle-uri-host.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-uri.d.ts +55 -0
- package/dist/commands/bundle/bundle-uri.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-verify.d.ts +63 -0
- package/dist/commands/bundle/bundle-verify.d.ts.map +1 -0
- package/dist/commands/bundle/index.d.ts +14 -0
- package/dist/commands/bundle/index.d.ts.map +1 -0
- package/dist/commands/cat-file/batch-format.d.ts +58 -0
- package/dist/commands/cat-file/batch-format.d.ts.map +1 -0
- package/dist/commands/cat-file/cat-file-command.d.ts +144 -0
- package/dist/commands/cat-file/cat-file-command.d.ts.map +1 -0
- package/dist/commands/cat-file/index.d.ts +3 -0
- package/dist/commands/cat-file/index.d.ts.map +1 -0
- package/dist/commands/check-attr-command.d.ts +66 -0
- package/dist/commands/check-attr-command.d.ts.map +1 -0
- package/dist/commands/check-ignore-command.d.ts +58 -0
- package/dist/commands/check-ignore-command.d.ts.map +1 -0
- package/dist/commands/check-ref-format-command.d.ts +60 -0
- package/dist/commands/check-ref-format-command.d.ts.map +1 -0
- package/dist/commands/checkout-command.d.ts.map +1 -1
- package/dist/commands/checkout-index-command.d.ts +96 -0
- package/dist/commands/checkout-index-command.d.ts.map +1 -0
- package/dist/commands/cherry-pick-command.d.ts +10 -0
- package/dist/commands/cherry-pick-command.d.ts.map +1 -1
- package/dist/commands/clone-command.d.ts +28 -0
- package/dist/commands/clone-command.d.ts.map +1 -1
- package/dist/commands/commit-command.d.ts +9 -1
- package/dist/commands/commit-command.d.ts.map +1 -1
- package/dist/commands/config-command.d.ts +2 -0
- package/dist/commands/config-command.d.ts.map +1 -1
- package/dist/commands/daemon-access-hook.d.ts +36 -0
- package/dist/commands/daemon-access-hook.d.ts.map +1 -0
- package/dist/commands/default-branch.d.ts +54 -0
- package/dist/commands/default-branch.d.ts.map +1 -1
- package/dist/commands/diff-command.d.ts +132 -5
- package/dist/commands/diff-command.d.ts.map +1 -1
- package/dist/commands/diff-external.d.ts +43 -0
- package/dist/commands/diff-external.d.ts.map +1 -0
- package/dist/commands/diff-plumbing/diff-pairs-command.d.ts +27 -0
- package/dist/commands/diff-plumbing/diff-pairs-command.d.ts.map +1 -0
- package/dist/commands/diff-plumbing/diff-plumbing-command.d.ts +129 -0
- package/dist/commands/diff-plumbing/diff-plumbing-command.d.ts.map +1 -0
- package/dist/commands/diff-plumbing/index.d.ts +3 -0
- package/dist/commands/diff-plumbing/index.d.ts.map +1 -0
- package/dist/commands/diff-textconv.d.ts +5 -1
- package/dist/commands/diff-textconv.d.ts.map +1 -1
- package/dist/commands/fast-export/fast-export-command.d.ts +135 -0
- package/dist/commands/fast-export/fast-export-command.d.ts.map +1 -0
- package/dist/commands/fast-export/fast-import-command.d.ts +182 -0
- package/dist/commands/fast-export/fast-import-command.d.ts.map +1 -0
- package/dist/commands/fast-export/fast-stream-support.d.ts +64 -0
- package/dist/commands/fast-export/fast-stream-support.d.ts.map +1 -0
- package/dist/commands/fast-export/index.d.ts +4 -0
- package/dist/commands/fast-export/index.d.ts.map +1 -0
- package/dist/commands/fetch-command.d.ts +65 -0
- package/dist/commands/fetch-command.d.ts.map +1 -1
- package/dist/commands/fetch-multiple-command.d.ts.map +1 -1
- package/dist/commands/format-rev-command.d.ts +60 -0
- package/dist/commands/format-rev-command.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-command.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-msg-ids.d.ts +18 -3
- package/dist/commands/fsck/fsck-msg-ids.d.ts.map +1 -1
- package/dist/commands/fsmonitor-ipc.d.ts +30 -0
- package/dist/commands/fsmonitor-ipc.d.ts.map +1 -0
- package/dist/commands/fsmonitor-refresh.d.ts +69 -0
- package/dist/commands/fsmonitor-refresh.d.ts.map +1 -0
- package/dist/commands/gc-command.d.ts +5 -0
- package/dist/commands/gc-command.d.ts.map +1 -1
- package/dist/commands/git-hooks.d.ts +32 -0
- package/dist/commands/git-hooks.d.ts.map +1 -1
- package/dist/commands/git-paths.d.ts +26 -0
- package/dist/commands/git-paths.d.ts.map +1 -0
- package/dist/commands/grep/grep-command.d.ts +2 -1
- package/dist/commands/grep/grep-command.d.ts.map +1 -1
- package/dist/commands/history-command.d.ts +156 -0
- package/dist/commands/history-command.d.ts.map +1 -0
- package/dist/commands/http-config.d.ts +38 -0
- package/dist/commands/http-config.d.ts.map +1 -0
- package/dist/commands/index-adder.d.ts +12 -1
- package/dist/commands/index-adder.d.ts.map +1 -1
- package/dist/commands/index-host.d.ts.map +1 -1
- package/dist/commands/index.d.ts +45 -1
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +6 -5
- package/dist/commands/init-command.d.ts.map +1 -1
- package/dist/commands/last-modified-command.d.ts +102 -0
- package/dist/commands/last-modified-command.d.ts.map +1 -0
- package/dist/commands/lfs/go-url.d.ts +43 -0
- package/dist/commands/lfs/go-url.d.ts.map +1 -0
- package/dist/commands/lfs/index.d.ts +3 -0
- package/dist/commands/lfs/index.d.ts.map +1 -0
- package/dist/commands/lfs/lfs-config.d.ts +174 -0
- package/dist/commands/lfs/lfs-config.d.ts.map +1 -0
- package/dist/commands/lfs/lfs-endpoint-command.d.ts +83 -0
- package/dist/commands/lfs/lfs-endpoint-command.d.ts.map +1 -0
- package/dist/commands/local-transport.d.ts.map +1 -1
- package/dist/commands/log-command.d.ts +26 -0
- package/dist/commands/log-command.d.ts.map +1 -1
- package/dist/commands/log-output.d.ts +28 -1
- package/dist/commands/log-output.d.ts.map +1 -1
- package/dist/commands/ls-files-command.d.ts +153 -0
- package/dist/commands/ls-files-command.d.ts.map +1 -0
- package/dist/commands/ls-remote-command.d.ts +5 -0
- package/dist/commands/ls-remote-command.d.ts.map +1 -1
- package/dist/commands/ls-tree-command.d.ts +105 -0
- package/dist/commands/ls-tree-command.d.ts.map +1 -0
- package/dist/commands/maintenance-run-command.d.ts +122 -0
- package/dist/commands/maintenance-run-command.d.ts.map +1 -0
- package/dist/commands/merge-command.d.ts +7 -0
- package/dist/commands/merge-command.d.ts.map +1 -1
- package/dist/commands/merge-config.d.ts +7 -0
- package/dist/commands/merge-config.d.ts.map +1 -1
- package/dist/commands/merge-drivers.d.ts +67 -5
- package/dist/commands/merge-drivers.d.ts.map +1 -1
- package/dist/commands/merge-support.d.ts +6 -0
- package/dist/commands/merge-support.d.ts.map +1 -1
- package/dist/commands/merge-tree-command.d.ts +122 -0
- package/dist/commands/merge-tree-command.d.ts.map +1 -0
- package/dist/commands/mktag-command.d.ts +51 -0
- package/dist/commands/mktag-command.d.ts.map +1 -0
- package/dist/commands/object-store/count-objects-command.d.ts +58 -0
- package/dist/commands/object-store/count-objects-command.d.ts.map +1 -0
- package/dist/commands/object-store/index.d.ts +5 -0
- package/dist/commands/object-store/index.d.ts.map +1 -0
- package/dist/commands/object-store/objects-directory.d.ts +12 -0
- package/dist/commands/object-store/objects-directory.d.ts.map +1 -0
- package/dist/commands/object-store/prune-command.d.ts +38 -0
- package/dist/commands/object-store/prune-command.d.ts.map +1 -0
- package/dist/commands/object-store/show-index-command.d.ts +23 -0
- package/dist/commands/object-store/show-index-command.d.ts.map +1 -0
- package/dist/commands/ort-merge.d.ts +24 -0
- package/dist/commands/ort-merge.d.ts.map +1 -1
- package/dist/commands/patch-id-command.d.ts +30 -0
- package/dist/commands/patch-id-command.d.ts.map +1 -0
- package/dist/commands/patch-id.d.ts +24 -0
- package/dist/commands/patch-id.d.ts.map +1 -1
- package/dist/commands/plumbing-command.d.ts +66 -0
- package/dist/commands/plumbing-command.d.ts.map +1 -0
- package/dist/commands/plumbing-input.d.ts +38 -0
- package/dist/commands/plumbing-input.d.ts.map +1 -0
- package/dist/commands/promisor-remote-reply.d.ts +35 -0
- package/dist/commands/promisor-remote-reply.d.ts.map +1 -0
- package/dist/commands/promisor-remote.d.ts.map +1 -1
- package/dist/commands/pull-command.d.ts.map +1 -1
- package/dist/commands/push-command.d.ts +17 -2
- package/dist/commands/push-command.d.ts.map +1 -1
- package/dist/commands/rebase-command.d.ts +108 -2
- package/dist/commands/rebase-command.d.ts.map +1 -1
- package/dist/commands/refs-command.d.ts +81 -0
- package/dist/commands/refs-command.d.ts.map +1 -0
- package/dist/commands/remote-object-info-command.d.ts +55 -0
- package/dist/commands/remote-object-info-command.d.ts.map +1 -0
- package/dist/commands/remote-transport.d.ts +40 -3
- package/dist/commands/remote-transport.d.ts.map +1 -1
- package/dist/commands/repack-command.d.ts +115 -0
- package/dist/commands/repack-command.d.ts.map +1 -0
- package/dist/commands/replace-command.d.ts +143 -0
- package/dist/commands/replace-command.d.ts.map +1 -0
- package/dist/commands/replay-command.d.ts +117 -0
- package/dist/commands/replay-command.d.ts.map +1 -0
- package/dist/commands/repo-command.d.ts +158 -0
- package/dist/commands/repo-command.d.ts.map +1 -0
- package/dist/commands/request-pull-command.d.ts +82 -0
- package/dist/commands/request-pull-command.d.ts.map +1 -0
- package/dist/commands/rerere-command.d.ts +36 -0
- package/dist/commands/rerere-command.d.ts.map +1 -0
- package/dist/commands/rerere.d.ts +102 -0
- package/dist/commands/rerere.d.ts.map +1 -0
- package/dist/commands/reset-command.d.ts +19 -2
- package/dist/commands/reset-command.d.ts.map +1 -1
- package/dist/commands/rev-filter/commit-grep.d.ts +3 -1
- package/dist/commands/rev-filter/commit-grep.d.ts.map +1 -1
- package/dist/commands/rev-list-command.d.ts +3 -0
- package/dist/commands/rev-list-command.d.ts.map +1 -1
- package/dist/commands/rev-parse-command.d.ts +5 -0
- package/dist/commands/rev-parse-command.d.ts.map +1 -1
- package/dist/commands/revert-command.d.ts +10 -0
- package/dist/commands/revert-command.d.ts.map +1 -1
- package/dist/commands/revision-range.d.ts +5 -0
- package/dist/commands/revision-range.d.ts.map +1 -1
- package/dist/commands/revision-resolver.d.ts +27 -1
- package/dist/commands/revision-resolver.d.ts.map +1 -1
- package/dist/commands/sequencer-pick.d.ts +18 -0
- package/dist/commands/sequencer-pick.d.ts.map +1 -1
- package/dist/commands/serve-repository.d.ts +23 -1
- package/dist/commands/serve-repository.d.ts.map +1 -1
- package/dist/commands/session-id.d.ts +18 -0
- package/dist/commands/session-id.d.ts.map +1 -0
- package/dist/commands/show-branch-command.d.ts +59 -0
- package/dist/commands/show-branch-command.d.ts.map +1 -0
- package/dist/commands/show-ref-command.d.ts +112 -0
- package/dist/commands/show-ref-command.d.ts.map +1 -0
- package/dist/commands/signature-check.d.ts +9 -2
- package/dist/commands/signature-check.d.ts.map +1 -1
- package/dist/commands/signing.d.ts +30 -2
- package/dist/commands/signing.d.ts.map +1 -1
- package/dist/commands/stash-apply-command.d.ts.map +1 -1
- package/dist/commands/stash-export-command.d.ts +115 -0
- package/dist/commands/stash-export-command.d.ts.map +1 -0
- package/dist/commands/status-command.d.ts +16 -2
- package/dist/commands/status-command.d.ts.map +1 -1
- package/dist/commands/stripspace-command.d.ts +44 -0
- package/dist/commands/stripspace-command.d.ts.map +1 -0
- package/dist/commands/submodule-add-command.d.ts +22 -1
- package/dist/commands/submodule-add-command.d.ts.map +1 -1
- package/dist/commands/submodule-auth.d.ts +3 -1
- package/dist/commands/submodule-auth.d.ts.map +1 -1
- package/dist/commands/submodule-commands.d.ts +9 -1
- package/dist/commands/submodule-commands.d.ts.map +1 -1
- package/dist/commands/submodule-update-command.d.ts +27 -1
- package/dist/commands/submodule-update-command.d.ts.map +1 -1
- package/dist/commands/tag-command.d.ts.map +1 -1
- package/dist/commands/textconv-cache.d.ts +58 -0
- package/dist/commands/textconv-cache.d.ts.map +1 -0
- package/dist/commands/tree-restore.d.ts +5 -0
- package/dist/commands/tree-restore.d.ts.map +1 -1
- package/dist/commands/unpack-objects-command.d.ts +47 -0
- package/dist/commands/unpack-objects-command.d.ts.map +1 -0
- package/dist/commands/update-index-command.d.ts +131 -0
- package/dist/commands/update-index-command.d.ts.map +1 -0
- package/dist/commands/uri-protocols.d.ts +13 -0
- package/dist/commands/uri-protocols.d.ts.map +1 -0
- package/dist/commands/url-parse-command.d.ts +30 -0
- package/dist/commands/url-parse-command.d.ts.map +1 -0
- package/dist/commands/var-command.d.ts +42 -0
- package/dist/commands/var-command.d.ts.map +1 -0
- package/dist/{commands-CNvli5bl.js → commands-bQQ9OmCh.js} +52514 -44630
- package/dist/errors/command-errors.d.ts +33 -0
- package/dist/errors/command-errors.d.ts.map +1 -1
- package/dist/errors/index.js +39 -1
- package/dist/{fsck-CPeDh9fh.js → fsck-BHT9bUS-.js} +184 -143
- package/dist/git-command.d.ts +66 -4
- package/dist/git-command.d.ts.map +1 -1
- package/dist/git.d.ts +532 -1
- package/dist/git.d.ts.map +1 -1
- package/dist/guarded-transport-command.d.ts +3 -1
- package/dist/guarded-transport-command.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/dist/maintenance-run-command-Cx2PlGV9.js +13544 -0
- package/dist/{remote-transport-CCmBadm-.js → remote-transport-BrQZfyHu.js} +1009 -10
- package/dist/results/cherry-pick-result.d.ts +6 -0
- package/dist/results/cherry-pick-result.d.ts.map +1 -1
- package/dist/results/diff-entry.d.ts +10 -0
- package/dist/results/diff-entry.d.ts.map +1 -1
- package/dist/results/diff-formatter.d.ts.map +1 -1
- package/dist/results/diff-output.d.ts +49 -3
- package/dist/results/diff-output.d.ts.map +1 -1
- package/dist/results/fetch-result.d.ts +12 -0
- package/dist/results/fetch-result.d.ts.map +1 -1
- package/dist/results/index.js +2 -2
- package/dist/results/merge-result.d.ts +5 -0
- package/dist/results/merge-result.d.ts.map +1 -1
- package/dist/results/push-result.d.ts +5 -0
- package/dist/results/push-result.d.ts.map +1 -1
- package/dist/results/rebase-result.d.ts +7 -0
- package/dist/results/rebase-result.d.ts.map +1 -1
- package/dist/results/revert-result.d.ts +6 -0
- package/dist/results/revert-result.d.ts.map +1 -1
- package/dist/results/stash-result.d.ts +5 -0
- package/dist/results/stash-result.d.ts.map +1 -1
- package/dist/{results-BDuEgdLU.js → results-CNHQnU5Y.js} +13707 -10608
- package/dist/transport-command.d.ts +79 -1
- package/dist/transport-command.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/commands/add-command.ts +3 -0
- package/src/commands/add-patch/patch-backend.ts +4 -1
- package/src/commands/add-patch/patch-modes.ts +26 -2
- package/src/commands/add-patch/patch-session.ts +6 -0
- package/src/commands/am/am-command.ts +193 -22
- package/src/commands/apply/index.ts +1 -0
- package/src/commands/archive/archive-command.ts +1148 -0
- package/src/commands/archive/archive-entry.ts +93 -0
- package/src/commands/archive/index.ts +7 -0
- package/src/commands/archive/remote-archive-command.ts +140 -0
- package/src/commands/archive/tar-archive.ts +207 -0
- package/src/commands/archive/tar-commit-id.ts +72 -0
- package/src/commands/archive/upload-archive-writer.ts +213 -0
- package/src/commands/archive/zip-archive.ts +317 -0
- package/src/commands/attributes-source.ts +26 -12
- package/src/commands/blame-command.ts +118 -19
- package/src/commands/bundle/bundle-create-command.ts +405 -0
- package/src/commands/bundle/bundle-format.ts +228 -0
- package/src/commands/bundle/bundle-list.ts +276 -0
- package/src/commands/bundle/bundle-read-commands.ts +157 -0
- package/src/commands/bundle/bundle-support.ts +85 -0
- package/src/commands/bundle/bundle-transport.ts +107 -0
- package/src/commands/bundle/bundle-uri-host.ts +204 -0
- package/src/commands/bundle/bundle-uri.ts +236 -0
- package/src/commands/bundle/bundle-verify.ts +152 -0
- package/src/commands/bundle/index.ts +14 -0
- package/src/commands/cat-file/batch-format.ts +193 -0
- package/src/commands/cat-file/cat-file-command.ts +895 -0
- package/src/commands/cat-file/index.ts +2 -0
- package/src/commands/check-attr-command.ts +333 -0
- package/src/commands/check-ignore-command.ts +261 -0
- package/src/commands/check-ref-format-command.ts +129 -0
- package/src/commands/checkout-command.ts +61 -22
- package/src/commands/checkout-index-command.ts +568 -0
- package/src/commands/checkout-paths.ts +7 -0
- package/src/commands/cherry-pick-command.ts +21 -1
- package/src/commands/clone-command.ts +249 -9
- package/src/commands/commit-command.ts +22 -4
- package/src/commands/config-command.ts +9 -0
- package/src/commands/daemon-access-hook.ts +78 -0
- package/src/commands/default-branch.ts +118 -1
- package/src/commands/diff-command.ts +592 -47
- package/src/commands/diff-external.ts +131 -0
- package/src/commands/diff-plumbing/diff-pairs-command.ts +193 -0
- package/src/commands/diff-plumbing/diff-plumbing-command.ts +424 -0
- package/src/commands/diff-plumbing/index.ts +2 -0
- package/src/commands/diff-textconv.ts +5 -1
- package/src/commands/fast-export/fast-export-command.ts +911 -0
- package/src/commands/fast-export/fast-import-command.ts +1553 -0
- package/src/commands/fast-export/fast-stream-support.ts +162 -0
- package/src/commands/fast-export/index.ts +3 -0
- package/src/commands/fetch-command.ts +312 -8
- package/src/commands/fetch-multiple-command.ts +4 -1
- package/src/commands/format-rev-command.ts +267 -0
- package/src/commands/fsck/fsck-command.ts +47 -20
- package/src/commands/fsck/fsck-msg-ids.ts +19 -3
- package/src/commands/fsck/fsck-pack.ts +2 -2
- package/src/commands/fsmonitor-ipc.ts +121 -0
- package/src/commands/fsmonitor-refresh.ts +320 -0
- package/src/commands/gc-command.ts +10 -0
- package/src/commands/git-hooks.ts +123 -6
- package/src/commands/git-paths.ts +136 -0
- package/src/commands/grep/grep-command.ts +38 -15
- package/src/commands/history-command.ts +617 -0
- package/src/commands/http-config.ts +139 -0
- package/src/commands/index-adder.ts +37 -3
- package/src/commands/index-host.ts +6 -1
- package/src/commands/index.ts +46 -0
- package/src/commands/init-command.ts +14 -0
- package/src/commands/last-modified-command.ts +804 -0
- package/src/commands/lfs/go-url.ts +370 -0
- package/src/commands/lfs/index.ts +2 -0
- package/src/commands/lfs/lfs-config.ts +738 -0
- package/src/commands/lfs/lfs-endpoint-command.ts +180 -0
- package/src/commands/local-transport.ts +252 -4
- package/src/commands/log-command.ts +104 -5
- package/src/commands/log-output.ts +66 -5
- package/src/commands/ls-files-command.ts +1177 -0
- package/src/commands/ls-remote-command.ts +6 -0
- package/src/commands/ls-tree-command.ts +708 -0
- package/src/commands/maintenance-run-command.ts +949 -0
- package/src/commands/merge-command.ts +78 -32
- package/src/commands/merge-config.ts +23 -1
- package/src/commands/merge-drivers.ts +109 -20
- package/src/commands/merge-support.ts +29 -5
- package/src/commands/merge-tree-command.ts +786 -0
- package/src/commands/mktag-command.ts +149 -0
- package/src/commands/object-store/count-objects-command.ts +404 -0
- package/src/commands/object-store/index.ts +4 -0
- package/src/commands/object-store/objects-directory.ts +24 -0
- package/src/commands/object-store/prune-command.ts +129 -0
- package/src/commands/object-store/show-index-command.ts +151 -0
- package/src/commands/ort-merge.ts +92 -25
- package/src/commands/patch-id-command.ts +65 -0
- package/src/commands/patch-id.ts +218 -0
- package/src/commands/plumbing-command.ts +141 -0
- package/src/commands/plumbing-input.ts +87 -0
- package/src/commands/promisor-remote-reply.ts +276 -0
- package/src/commands/promisor-remote.ts +25 -2
- package/src/commands/pull-command.ts +2 -0
- package/src/commands/push-command.ts +87 -5
- package/src/commands/rebase-command.ts +507 -19
- package/src/commands/refs-command.ts +274 -0
- package/src/commands/remote-object-info-command.ts +109 -0
- package/src/commands/remote-transport.ts +116 -1
- package/src/commands/repack-command.ts +383 -0
- package/src/commands/replace-command.ts +816 -0
- package/src/commands/replay-command.ts +674 -0
- package/src/commands/repo-command.ts +1066 -0
- package/src/commands/request-pull-command.ts +356 -0
- package/src/commands/rerere-command.ts +179 -0
- package/src/commands/rerere.ts +925 -0
- package/src/commands/reset-command.ts +75 -3
- package/src/commands/rev-filter/commit-grep.ts +7 -2
- package/src/commands/rev-list-command.ts +9 -0
- package/src/commands/rev-parse-command.ts +49 -5
- package/src/commands/revert-command.ts +21 -1
- package/src/commands/revision-range.ts +7 -2
- package/src/commands/revision-resolver.ts +97 -14
- package/src/commands/sequencer-pick.ts +47 -0
- package/src/commands/serve-repository.ts +65 -0
- package/src/commands/session-id.ts +31 -0
- package/src/commands/show-branch-command.ts +981 -0
- package/src/commands/show-command.ts +1 -1
- package/src/commands/show-ref-command.ts +439 -0
- package/src/commands/signature-check.ts +37 -5
- package/src/commands/signing.ts +176 -23
- package/src/commands/stash-apply-command.ts +3 -0
- package/src/commands/stash-export-command.ts +397 -0
- package/src/commands/status-command.ts +74 -8
- package/src/commands/stripspace-command.ts +118 -0
- package/src/commands/submodule-add-command.ts +40 -2
- package/src/commands/submodule-auth.ts +61 -6
- package/src/commands/submodule-commands.ts +12 -2
- package/src/commands/submodule-update-command.ts +47 -1
- package/src/commands/tag-command.ts +33 -11
- package/src/commands/textconv-cache.ts +143 -0
- package/src/commands/tree-restore.ts +14 -0
- package/src/commands/unpack-objects-command.ts +235 -0
- package/src/commands/update-index-command.ts +1148 -0
- package/src/commands/uri-protocols.ts +13 -0
- package/src/commands/url-parse-command.ts +67 -0
- package/src/commands/var-command.ts +219 -0
- package/src/errors/command-errors.ts +45 -0
- package/src/git-command.ts +177 -3
- package/src/git.ts +808 -1
- package/src/guarded-transport-command.ts +6 -1
- package/src/results/cherry-pick-result.ts +6 -0
- package/src/results/diff-entry.ts +12 -0
- package/src/results/diff-formatter.ts +7 -4
- package/src/results/diff-output.ts +117 -11
- package/src/results/diff-pickaxe.ts +1 -1
- package/src/results/fetch-result.ts +12 -0
- package/src/results/merge-result.ts +5 -0
- package/src/results/push-result.ts +5 -0
- package/src/results/rebase-result.ts +7 -0
- package/src/results/revert-result.ts +6 -0
- package/src/results/stash-result.ts +6 -0
- package/src/transport-command.ts +182 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ls-files-command.d.ts","sourceRoot":"","sources":["../../src/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,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CA8B5F"}
|
|
@@ -27,6 +27,11 @@ export interface LsRemoteResult {
|
|
|
27
27
|
refs: RemoteRef[];
|
|
28
28
|
/** Default branch (from HEAD symref) */
|
|
29
29
|
defaultBranch?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The object HEAD names, git ls-remote's first line (`<id>\tHEAD`); undefined when the
|
|
32
|
+
* remote has no HEAD or it is unborn, or with `--heads`/`--tags`
|
|
33
|
+
*/
|
|
34
|
+
head?: ObjectId;
|
|
30
35
|
}
|
|
31
36
|
/**
|
|
32
37
|
* List references in a remote repository.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls-remote-command.d.ts","sourceRoot":"","sources":["../../src/commands/ls-remote-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG3D;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,QAAQ,EAAE,QAAQ,CAAC;IACnB,gDAAgD;IAChD,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,kBAAkB;IAClB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ls-remote-command.d.ts","sourceRoot":"","sources":["../../src/commands/ls-remote-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EA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,GAAG,IAAI,CAI3B;IAED;;OAEG;IACH,MAAM,IAAI,OAAO,CAEhB;IAED;;;;;;OAMG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAItC;IAED;;;;;;OAMG;IACG,IAAI,IAAI,OAAO,CAAC,cAAc,CAAC,CAoEpC;IAED;;;;OAIG;IACG,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAOhD;IAED;;;;;;;;;;;;;;OAcG;IACG,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC,CAIlC;IAED,wFAAwF;YAC1E,SAAS;CA6BxB"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `git ls-tree` (builtin/ls-tree.c): the entries of a tree, byte for byte as git prints them.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```typescript
|
|
6
|
+
* // git ls-tree -r --name-only HEAD src/
|
|
7
|
+
* const { stdout } = await git.lsTree().setTreeish("HEAD").setRecursive(true)
|
|
8
|
+
* .setNameOnly().addPaths("src/").callOutput();
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
import { PlumbingCommand } from "./plumbing-command.js";
|
|
12
|
+
/** ls-tree's `cmdmode`: the output options that exclude one another. */
|
|
13
|
+
export type LsTreeMode = "long" | "name-only" | "name-status" | "object-only";
|
|
14
|
+
/**
|
|
15
|
+
* `git ls-tree [<options>] <tree-ish> [<path>...]`.
|
|
16
|
+
*
|
|
17
|
+
* Paths are ls-tree's own: literal pathspecs (only `:(top)` and `:(literal)` magic), a tree
|
|
18
|
+
* shown or entered by leading path components (`show_recursive`), not wildcard matches.
|
|
19
|
+
* Output paths are relative to {@link setPrefix} unless `--full-name`/`--full-tree`.
|
|
20
|
+
*
|
|
21
|
+
* git 2.43 (`setCompatibility("2.43")`) words the conflict of two output modes as
|
|
22
|
+
* `error: <b> is incompatible with <a>`, 2.45 and later as `error: options '<b>' and '<a>'
|
|
23
|
+
* cannot be used together`. Usage errors exit 129 with that first line only (git prints its
|
|
24
|
+
* usage after it).
|
|
25
|
+
*/
|
|
26
|
+
export declare class LsTreeCommand extends PlumbingCommand {
|
|
27
|
+
private treeish?;
|
|
28
|
+
private readonly paths;
|
|
29
|
+
private treesOnly;
|
|
30
|
+
private recursive;
|
|
31
|
+
private showTrees;
|
|
32
|
+
private nul;
|
|
33
|
+
private readonly modes;
|
|
34
|
+
private fullName?;
|
|
35
|
+
private fullTree;
|
|
36
|
+
private format?;
|
|
37
|
+
private abbrev;
|
|
38
|
+
private prefix;
|
|
39
|
+
private compatibility;
|
|
40
|
+
/** The `<tree-ish>` argument. */
|
|
41
|
+
setTreeish(name: string): this;
|
|
42
|
+
/** `<path>...` arguments, read against {@link setPrefix}. */
|
|
43
|
+
addPaths(...paths: string[]): this;
|
|
44
|
+
/** `-d`: only trees (and gitlinks). */
|
|
45
|
+
setTreesOnly(on?: boolean): this;
|
|
46
|
+
/** `-r`: recurse into subtrees. */
|
|
47
|
+
setRecursive(on?: boolean): this;
|
|
48
|
+
/** `-t`: show the trees recursed into. */
|
|
49
|
+
setShowTrees(on?: boolean): this;
|
|
50
|
+
/** `-z`: entries end with NUL, paths unquoted. */
|
|
51
|
+
setNullTerminated(on?: boolean): this;
|
|
52
|
+
/**
|
|
53
|
+
* An output mode option (`-l`/`--long`, `--name-only`, `--name-status`, `--object-only`),
|
|
54
|
+
* `option` its spelling for git's conflict message; a second, different mode is refused.
|
|
55
|
+
*/
|
|
56
|
+
addMode(mode: LsTreeMode, option?: string): this;
|
|
57
|
+
/** `-l`/`--long`: object sizes. */
|
|
58
|
+
setLong(option?: string): this;
|
|
59
|
+
/** `--name-only`: paths only. */
|
|
60
|
+
setNameOnly(): this;
|
|
61
|
+
/** `--name-status`: as `--name-only`. */
|
|
62
|
+
setNameStatus(): this;
|
|
63
|
+
/** `--object-only`: object names only. */
|
|
64
|
+
setObjectOnly(): this;
|
|
65
|
+
/** `--[no-]full-name`: paths from the top (default: on when there is no prefix). */
|
|
66
|
+
setFullName(on?: boolean): this;
|
|
67
|
+
/** `--full-tree`: the whole tree, paths from the top, the prefix ignored. */
|
|
68
|
+
setFullTree(on?: boolean): this;
|
|
69
|
+
/** `--format=<format>`. */
|
|
70
|
+
setFormat(format: string): this;
|
|
71
|
+
/**
|
|
72
|
+
* `--abbrev[=<n>]`: `undefined` is `--abbrev` (core.abbrev, else automatic), 0 the full
|
|
73
|
+
* id (`--no-abbrev`), else at least `n` digits (4 at least).
|
|
74
|
+
*/
|
|
75
|
+
setAbbrev(length?: number): this;
|
|
76
|
+
/** The directory git runs in, relative to the top of the worktree (git's prefix). */
|
|
77
|
+
setPrefix(prefix: string): this;
|
|
78
|
+
/** The git version whose messages to follow (default 2.56). */
|
|
79
|
+
setCompatibility(version: "2.43" | "2.56"): this;
|
|
80
|
+
protected writesNoObjects(): boolean;
|
|
81
|
+
private out;
|
|
82
|
+
private outSize;
|
|
83
|
+
private emit;
|
|
84
|
+
private flush;
|
|
85
|
+
protected run(): Promise<number>;
|
|
86
|
+
/** parse_pathspec with ls-tree's magic mask and PATHSPEC_PREFER_CWD: literal elements. */
|
|
87
|
+
private parsePaths;
|
|
88
|
+
/** prefix_path_gently: the path from the top, undefined when it leaves the worktree. */
|
|
89
|
+
private prefixPath;
|
|
90
|
+
/** parse_tree_indirect: a commit's tree, a tag's object peeled, a tree itself. */
|
|
91
|
+
private peelToTree;
|
|
92
|
+
/** read_tree_at: false when a tree could not be read (git's `-1`). */
|
|
93
|
+
private walk;
|
|
94
|
+
/** show_recursive: whether a tree is entered. */
|
|
95
|
+
private showRecursive;
|
|
96
|
+
private abbreviated;
|
|
97
|
+
/** The blob's size, undefined when it cannot be read. */
|
|
98
|
+
private blobSize;
|
|
99
|
+
/** The path (a byte string) as the fast paths print it. */
|
|
100
|
+
private fastPath;
|
|
101
|
+
private entryLine;
|
|
102
|
+
/** show_tree_fmt's expansion (a byte string). */
|
|
103
|
+
private expandFormat;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=ls-tree-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ls-tree-command.d.ts","sourceRoot":"","sources":["../../src/commands/ls-tree-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAoBH,OAAO,EAAE,eAAe,EAAiB,MAAM,uBAAuB,CAAC;AAEvE,wEAAwE;AACxE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,aAAa,GAAG,aAAa,CAAC;AA2B9E;;;;;;;;;;;GAWG;AACH,qBAAa,aAAc,SAAQ,eAAe;IAChD,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA8C;IACpE,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,MAAM,CAAC,CAAS;IACxB,OAAO,CAAC,MAAM,CAAK;IACnB,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,aAAa,CAA2B;IAEhD,iCAAiC;IACjC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAI7B;IAED,6DAA6D;IAC7D,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAIjC;IAED,uCAAuC;IACvC,YAAY,CAAC,EAAE,UAAO,GAAG,IAAI,CAI5B;IAED,mCAAmC;IACnC,YAAY,CAAC,EAAE,UAAO,GAAG,IAAI,CAI5B;IAED,0CAA0C;IAC1C,YAAY,CAAC,EAAE,UAAO,GAAG,IAAI,CAI5B;IAED,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,UAAO,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
|
1
|
+
import { GuardedTransportCommand } from "../guarded-transport-command.js";
|
|
2
|
+
/** git's maintenance tasks, in its task table's order (`tasks[]` of builtin/gc.c). */
|
|
3
|
+
export declare const MAINTENANCE_TASKS: readonly ["prefetch", "loose-objects", "incremental-repack", "geometric-repack", "gc", "commit-graph", "pack-refs", "reflog-expire", "worktree-prune", "rerere-gc"];
|
|
4
|
+
export type MaintenanceTask = (typeof MAINTENANCE_TASKS)[number];
|
|
5
|
+
/** `--schedule=<frequency>` */
|
|
6
|
+
export type MaintenanceSchedule = "hourly" | "daily" | "weekly";
|
|
7
|
+
/** How `git maintenance run` ended. */
|
|
8
|
+
export interface MaintenanceRunResult {
|
|
9
|
+
/** git's exit status: 0, or 1 when a task failed */
|
|
10
|
+
exitCode: number;
|
|
11
|
+
/** git's stderr: warnings, the failing tasks' lines and `error: task '<t>' failed` */
|
|
12
|
+
stderr: string;
|
|
13
|
+
/**
|
|
14
|
+
* The tasks run, in order, as git's trace2 names their regions: `<task>` (2.5x adds
|
|
15
|
+
* `<task> foreground` for the part run before detaching: gc, pack-refs, reflog-expire)
|
|
16
|
+
*/
|
|
17
|
+
tasks: string[];
|
|
18
|
+
/** Whether another maintenance held `<objects>/maintenance.lock` (nothing was run) */
|
|
19
|
+
locked?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* `git maintenance run [--auto] [--task=<task>] [--schedule=<frequency>] [--[no-]quiet]`
|
|
23
|
+
* (builtin/gc.c `maintenance_run`) over a files repository: the tasks selected (`--task`, in
|
|
24
|
+
* the order given), else those the maintenance strategy and `maintenance.<task>.enabled` turn
|
|
25
|
+
* on (`maintenance.strategy`, default `geometric` in git 2.5x and the gc task alone in 2.43;
|
|
26
|
+
* with `--schedule` only the tasks whose `maintenance.<task>.schedule` is at least as frequent),
|
|
27
|
+
* each under `<objects>/maintenance.lock`. With `--auto` a task runs only when its condition
|
|
28
|
+
* holds (git's per-task thresholds: `maintenance.<task>.auto`, `gc.auto` for gc), and git 2.5x
|
|
29
|
+
* asks the pre-auto-gc hook once first.
|
|
30
|
+
*
|
|
31
|
+
* The tasks: prefetch (`git fetch <remote> --prefetch --prune --no-tags
|
|
32
|
+
* --no-write-fetch-head` for each remote), loose-objects (`prune-packed`, then the loose
|
|
33
|
+
* objects into a `loose-<id>.pack`), incremental-repack (`multi-pack-index write`, `expire`,
|
|
34
|
+
* `repack --batch-size`), geometric-repack (`repack --geometric` or an all-into-one repack with
|
|
35
|
+
* a midx), gc (`git gc`), commit-graph (`commit-graph write --split --reachable`), pack-refs
|
|
36
|
+
* (`pack-refs --all --prune`), reflog-expire (`reflog expire --all`), worktree-prune
|
|
37
|
+
* (`worktree prune --expire <gc.worktreePruneExpire>`) and rerere-gc (`rerere gc`); the last
|
|
38
|
+
* three and geometric-repack are git 2.5x's. git 2.43 (the hook runner's compatibility) runs
|
|
39
|
+
* selected tasks in the reverse of the order given, as its `compare_tasks_by_selection` sorts.
|
|
40
|
+
*
|
|
41
|
+
* `--detach` and `register`/`start`/`stop` (which schedule runs with the operating system)
|
|
42
|
+
* are left to the host: this command always runs in the foreground and quietly unless
|
|
43
|
+
* {@link setQuiet} says otherwise (git is quiet when stderr is no terminal).
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```typescript
|
|
47
|
+
* // git maintenance run --task=commit-graph --task=loose-objects
|
|
48
|
+
* const { exitCode, tasks } = await git.maintenanceRun()
|
|
49
|
+
* .addTask("commit-graph").addTask("loose-objects").call();
|
|
50
|
+
*
|
|
51
|
+
* // git maintenance run --auto
|
|
52
|
+
* await git.maintenanceRun().setAuto(true).call();
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export declare class MaintenanceRunCommand extends GuardedTransportCommand<MaintenanceRunResult> {
|
|
56
|
+
private selected;
|
|
57
|
+
private auto;
|
|
58
|
+
private schedule?;
|
|
59
|
+
private quiet;
|
|
60
|
+
private stderrLines;
|
|
61
|
+
private ran;
|
|
62
|
+
/** `--task=<task>`: run this task (repeatable; a task named twice is git's usage error). */
|
|
63
|
+
addTask(task: MaintenanceTask | string): this;
|
|
64
|
+
/** `--auto`: run each task only when its condition says the repository needs it. */
|
|
65
|
+
setAuto(auto: boolean): this;
|
|
66
|
+
/** `--schedule=<frequency>`: the tasks scheduled at least this often. */
|
|
67
|
+
setSchedule(schedule: MaintenanceSchedule | string): this;
|
|
68
|
+
/** `--quiet` (default true, as git with stderr on no terminal) / `--no-quiet`. */
|
|
69
|
+
setQuiet(quiet: boolean): this;
|
|
70
|
+
private get v243();
|
|
71
|
+
private error;
|
|
72
|
+
/**
|
|
73
|
+
* Runs the tasks.
|
|
74
|
+
*
|
|
75
|
+
* @throws PlumbingError for git's usage errors (an unknown or repeated task: 129; `--auto`
|
|
76
|
+
* or `--task` with `--schedule`, an unknown schedule or strategy: 128)
|
|
77
|
+
*/
|
|
78
|
+
call(): Promise<MaintenanceRunResult>;
|
|
79
|
+
private stderrText;
|
|
80
|
+
/** git 2.43's task list: selected (in reverse), else the enabled ones in table order. */
|
|
81
|
+
private tasks243;
|
|
82
|
+
/** git 2.5x's `initialize_task_config`. */
|
|
83
|
+
private tasks256;
|
|
84
|
+
private autoCondition;
|
|
85
|
+
/** The loose object ids, in fan-out order, at most `limit` (git's for_each_loose_file). */
|
|
86
|
+
private looseObjectIds;
|
|
87
|
+
/** too_many_loose_objects: the `objects/17` estimate against the limit rounded up to 256. */
|
|
88
|
+
private tooManyLoose;
|
|
89
|
+
/** The packs of `objects/pack` (an `.idx` with its `.pack`), with size, keep and cruft. */
|
|
90
|
+
private packFiles;
|
|
91
|
+
/** The base names of the packs the multi-pack-index covers (its PNAM chunk). */
|
|
92
|
+
private midxPackNames;
|
|
93
|
+
/** pack_geometry_init and split: the packs that are neither kept, cruft nor promisor. */
|
|
94
|
+
private geometry;
|
|
95
|
+
/** should_write_commit_graph: commits the refs reach outside the graph, up to the limit. */
|
|
96
|
+
private commitGraphNeeded;
|
|
97
|
+
/** Runs one task (its part of `foreground` in 2.5x); true when it failed. */
|
|
98
|
+
private runTask;
|
|
99
|
+
/** maintenance_task_prefetch: `git fetch <remote> --prefetch ...` per remote, stopping at a failure. */
|
|
100
|
+
private prefetch;
|
|
101
|
+
/** maintenance_task_loose_objects: prune-packed, then pack_loose. */
|
|
102
|
+
private looseObjects;
|
|
103
|
+
/** maintenance_task_incremental_repack: midx write, expire, then repack in a batch. */
|
|
104
|
+
private incrementalRepack;
|
|
105
|
+
/** maintenance_task_geometric_repack (odb_source_files_optimize, ODB_OPTIMIZE_GEOMETRIC). */
|
|
106
|
+
private geometricRepack;
|
|
107
|
+
/** add_repack_all_option: `-a` for `gc.pruneExpire=now`, else `--cruft` or `-A`. */
|
|
108
|
+
private repackAllOption;
|
|
109
|
+
/** maintenance_task_gc: `git gc [--auto] --quiet`. */
|
|
110
|
+
private gc;
|
|
111
|
+
/** maintenance_task_commit_graph: `commit-graph write --split --reachable`. */
|
|
112
|
+
private commitGraph;
|
|
113
|
+
/** maintenance_task_pack_refs: `pack-refs --all --prune [--auto]`. */
|
|
114
|
+
private packRefs;
|
|
115
|
+
/** maintenance_task_reflog_expire: `reflog expire --all`. */
|
|
116
|
+
private reflogExpire;
|
|
117
|
+
/** maintenance_task_worktree_prune: `worktree prune --expire <gc.worktreePruneExpire>`. */
|
|
118
|
+
private worktreePrune;
|
|
119
|
+
/** maintenance_task_rerere_gc: `rerere gc`. */
|
|
120
|
+
private rerereGc;
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=maintenance-run-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance-run-command.d.ts","sourceRoot":"","sources":["../../src/commands/maintenance-run-command.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAY1E,sFAAsF;AACtF,eAAO,MAAM,iBAAiB,YAC5B,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,IAAI,EACJ,cAA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AyF;IACzF,OAAO,CAAC,QAAQ;IAoChB,2CAA2C;IAC3C,OAAO,CAAC,QAAQ;YAmCF,aAAa;IAqF3B,2FAA2F;YAC7E,cAAc;IA+B5B,6FAA6F;YAC/E,YAAY;IAa1B,2FAA2F;YAC7E,SAAS;IAmCvB,gFAAgF;YAClE,aAAa;IAO3B,yFAAyF;YAC3E,QAAQ;IAetB,4FAA4F;YAC9E,iBAAiB;IAsC/B,6EAA6E;YAC/D,OAAO;IAiCrB,wGAAwG;YAC1F,QAAQ;IA4CtB,qEAAqE;YACvD,YAAY;IAkC1B,uFAAuF;YACzE,iBAAiB;IAwD/B,6FAA6F;YAC/E,eAAe;IAqB7B,oFAAoF;IACpF,OAAO,CAAC,eAAe;IAWvB,sDAAsD;YACxC,EAAE;IAehB,+EAA+E;YACjE,WAAW;IAuBzB,sEAAsE;YACxD,QAAQ;IAWtB,6DAA6D;YAC/C,YAAY;IAM1B,2FAA2F;YAC7E,aAAa;IAO3B,+CAA+C;YACjC,QAAQ;CAOvB"}
|
|
@@ -58,6 +58,8 @@ export declare class MergeCommand extends GitCommand<MergeResult> {
|
|
|
58
58
|
/** `-X <option>`s, in order */
|
|
59
59
|
private strategyOptions;
|
|
60
60
|
private squash;
|
|
61
|
+
/** `--[no-]rerere-autoupdate` (undefined: `rerere.autoUpdate`) */
|
|
62
|
+
private rerereAutoUpdate?;
|
|
61
63
|
private commit;
|
|
62
64
|
private message?;
|
|
63
65
|
private cleanupMode?;
|
|
@@ -191,6 +193,11 @@ export declare class MergeCommand extends GitCommand<MergeResult> {
|
|
|
191
193
|
* @param squash Whether to squash
|
|
192
194
|
*/
|
|
193
195
|
setSquash(squash: boolean): this;
|
|
196
|
+
/**
|
|
197
|
+
* `--rerere-autoupdate` (true) / `--no-rerere-autoupdate` (false): whether resolutions
|
|
198
|
+
* rerere replays on a conflict are staged (default `rerere.autoUpdate`).
|
|
199
|
+
*/
|
|
200
|
+
setRerereAutoUpdate(autoUpdate: boolean): this;
|
|
194
201
|
/**
|
|
195
202
|
* Set whether to commit after merge (`--no-commit` when false: the merge stops before
|
|
196
203
|
* committing, with `MERGE_HEAD` and `MERGE_MSG` written for a later commit).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-command.d.ts","sourceRoot":"","sources":["../../src/commands/merge-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AA4B3E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,KAAK,WAAW,EAEhB,aAAa,EACd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAiB,KAAK,YAAY,EAAqB,MAAM,qBAAqB,CAAC;AAwB1F,OAAO,EACL,KAAK,WAAW,EAKjB,MAAM,sBAAsB,CAAC;AA2B9B,uCAAuC;AACvC,oBAAY,cAAc;IACxB,uDAAuD;IACvD,KAAK,UAAU;IACf,0DAA0D;IAC1D,KAAK,UAAU;IACf,qEAAqE;IACrE,QAAQ,aAAa;IACrB;;;OAGG;IACH,IAAI,SAAS;CACd;AAED,mEAAmE;AACnE,eAAO,MAAM,2BAA2B,iDAAiD,CAAC;AAE1F,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,WAAY,SAAS,GAAG,YAAY,WAMzD,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,YAAa,SAAQ,UAAU,CAAC,WAAW,CAAC;IACvD,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,eAAe,CAAsB;IAC7C,OAAO,CAAC,QAAQ,CAA2B;IAC3C,6EAA6E;IAC7E,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,eAAe,CAAC,CAAuB;IAC/C,+BAA+B;IAC/B,OAAO,CAAC,eAAe,CAAgB;IACvC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM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C,aAAa;IA+BrB,0FAA0F;IAC1F,OAAO,CAAC,OAAO;IAKf;;;;;;OAMG;YACW,WAAW;IAsBzB;;;;OAIG;YACW,UAAU;IAqBxB;;OAEG;YACW,UAAU;IAKxB;;;;OAIG;YACW,WAAW;CAc1B;AAoBD,iFAAiF;AACjF,wBAAgB,OAAO,CACrB,QAAQ,EAAE,oBAAoB,GAAG,SAAS,GACzC,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAWzC"}
|
|
@@ -10,4 +10,11 @@ export declare function configValue(workingCopy: WorkingCopy, key: string): stri
|
|
|
10
10
|
export declare function configBool(workingCopy: WorkingCopy, key: string, fallback: boolean): boolean;
|
|
11
11
|
/** `merge.conflictStyle`: `merge` (default), `diff3` or `zdiff3`. */
|
|
12
12
|
export declare function conflictStyleOf(workingCopy: WorkingCopy): ConflictStyle;
|
|
13
|
+
/**
|
|
14
|
+
* merge-ort's `verbosity` (init_merge_options): `$GIT_MERGE_VERBOSITY` read as `strtol`,
|
|
15
|
+
* else `merge.verbosity`, else 2. At 0 `git merge` prints none of merge-ort's messages
|
|
16
|
+
* (`Auto-merging`, `CONFLICT`) from git 2.50 on (merge_ort_recursive's `show_msgs`; 2.43
|
|
17
|
+
* prints them whatever the level); the other levels change nothing git prints.
|
|
18
|
+
*/
|
|
19
|
+
export declare function mergeVerbosityOf(workingCopy: WorkingCopy): number;
|
|
13
20
|
//# sourceMappingURL=merge-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-config.d.ts","sourceRoot":"","sources":["../../src/commands/merge-config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,wBAAwB,CAAC;AAC1E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"merge-config.d.ts","sourceRoot":"","sources":["../../src/commands/merge-config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,wBAAwB,CAAC;AAC1E,OAAO,KAAK,EAAsB,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAIrF,0FAA0F;AAC1F,wBAAgB,WAAW,CAAC,WAAW,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAErF;AAED,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,WAAW,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAE5F;AAED,qEAAqE;AACrE,wBAAgB,eAAe,CAAC,WAAW,EAAE,WAAW,GAAG,aAAa,CAGvE;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAcjE"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { type ConflictStyle, type LineMergeOptions } from "@statewalker/vcs-utils";
|
|
17
17
|
import type { WorkingCopy, Worktree } from "@statewalker/vcs-working-tree";
|
|
18
|
+
import { GitApiError } from "../errors/index.js";
|
|
18
19
|
import type { MergeAttributes, OrtMergeOptions } from "./ort-merge.js";
|
|
19
20
|
/** A `merge` attribute: set, unset, a driver name, or unspecified. */
|
|
20
21
|
export type MergeAttributeValue = true | false | string | undefined;
|
|
@@ -34,11 +35,24 @@ export interface MergeDriverInput {
|
|
|
34
35
|
theirsLabel: string;
|
|
35
36
|
/** The conflict marker length to use (`%L`) */
|
|
36
37
|
markerSize: number;
|
|
38
|
+
/**
|
|
39
|
+
* The command git would run (`merge.<driver>.driver`), when the configuration has one: a
|
|
40
|
+
* host that runs commands runs it (its `%O`, `%A`, `%B` temporary files of the three
|
|
41
|
+
* versions, `%A` read back as the result), others ignore it
|
|
42
|
+
*/
|
|
43
|
+
command?: string;
|
|
37
44
|
}
|
|
38
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* What a merge driver gives back: the merged content, and whether it holds conflicts (git:
|
|
47
|
+
* the command exited with a status from 1 to 128). `error` is a driver that could not merge
|
|
48
|
+
* at all (git: the command died of a signal): the merge stops with git's `error: failed to
|
|
49
|
+
* execute internal merge`, as ll_ext_merge's `LL_MERGE_ERROR`; a driver that throws is
|
|
50
|
+
* taken the same way.
|
|
51
|
+
*/
|
|
39
52
|
export interface MergeDriverResult {
|
|
40
53
|
content: Uint8Array;
|
|
41
54
|
conflict: boolean;
|
|
55
|
+
error?: boolean;
|
|
42
56
|
}
|
|
43
57
|
/** A merge driver a host registers. */
|
|
44
58
|
export interface MergeDriver {
|
|
@@ -55,6 +69,39 @@ export type MergeDriverRegistry = ReadonlyMap<string, MergeDriver> | Record<stri
|
|
|
55
69
|
export declare function createMergeDriver(merge: (input: MergeDriverInput) => Promise<MergeDriverResult>, options?: {
|
|
56
70
|
recursive?: string;
|
|
57
71
|
}): MergeDriver;
|
|
72
|
+
/**
|
|
73
|
+
* A merge driver failed to run (ll_merge's `LL_MERGE_ERROR`): merge-ort gives up, the
|
|
74
|
+
* merge's result `clean < 0`. git 2.5x reports it as `error: failed to execute internal
|
|
75
|
+
* merge for <path>` (an ERROR path message, printed only for the outer merge: an inner
|
|
76
|
+
* merge of merge bases fails without it); git 2.43 said `error: failed to execute internal
|
|
77
|
+
* merge` and aborted on a failure in an inner merge.
|
|
78
|
+
*/
|
|
79
|
+
export declare class MergeDriverFailedError extends Error {
|
|
80
|
+
/** The path whose merge failed */
|
|
81
|
+
readonly path: string;
|
|
82
|
+
/** Whether it failed in a merge of merge bases (merge-ort's call_depth > 0) */
|
|
83
|
+
readonly inner: boolean;
|
|
84
|
+
constructor(
|
|
85
|
+
/** The path whose merge failed */
|
|
86
|
+
path: string,
|
|
87
|
+
/** Whether it failed in a merge of merge bases (merge-ort's call_depth > 0) */
|
|
88
|
+
inner?: boolean);
|
|
89
|
+
/** The lines git 2.5x prints on stderr for it (none for an inner merge) */
|
|
90
|
+
get lines(): string[];
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* A path's merge driver is configured (`merge.<name>.*`) without a command
|
|
94
|
+
* (`merge.<name>.driver`) and the host registers none of that name: git's `ll_ext_merge`
|
|
95
|
+
* dies `fatal: custom merge driver <name> lacks command line.` (exit 128) before the merge
|
|
96
|
+
* writes anything.
|
|
97
|
+
*/
|
|
98
|
+
export declare class MergeDriverCommandMissingError extends GitApiError {
|
|
99
|
+
/** The driver's name */
|
|
100
|
+
readonly driver: string;
|
|
101
|
+
constructor(
|
|
102
|
+
/** The driver's name */
|
|
103
|
+
driver: string);
|
|
104
|
+
}
|
|
58
105
|
/** The driver registered under `name`, if any. */
|
|
59
106
|
export declare function lookupMergeDriver(registry: MergeDriverRegistry | undefined, name: string): MergeDriver | undefined;
|
|
60
107
|
/** Registers the merge drivers the merges of `workingCopy` use. */
|
|
@@ -64,11 +111,14 @@ export declare function mergeDriversOf(workingCopy: WorkingCopy): MergeDriverReg
|
|
|
64
111
|
/**
|
|
65
112
|
* The driver for a path's `merge` attribute (git's `find_ll_merge_driver`): `text` when set
|
|
66
113
|
* (or unspecified without `merge.default`), `binary` when unset, else the named driver: a
|
|
67
|
-
* registered one,
|
|
114
|
+
* registered one, one the configuration names (`configured`: any `merge.<name>.*` key makes
|
|
115
|
+
* `<name>` a user driver in git, winning over a builtin of that name), a builtin (`text`,
|
|
116
|
+
* `binary`, `union`), or `text` for an unknown name.
|
|
68
117
|
*/
|
|
69
|
-
export declare function findMergeDriver(attr: MergeAttributeValue, drivers: MergeDriverRegistry | undefined, defaultDriver?: string): {
|
|
118
|
+
export declare function findMergeDriver(attr: MergeAttributeValue, drivers: MergeDriverRegistry | undefined, defaultDriver?: string, isConfigured?: (name: string) => boolean): {
|
|
70
119
|
name: string;
|
|
71
120
|
custom?: MergeDriver;
|
|
121
|
+
configured?: boolean;
|
|
72
122
|
};
|
|
73
123
|
/** The three versions of a path {@link lowLevelMerge} merges, with their marker labels. */
|
|
74
124
|
export interface LowLevelMergeInput {
|
|
@@ -88,6 +138,15 @@ export interface LowLevelMergeOptions {
|
|
|
88
138
|
drivers?: MergeDriverRegistry;
|
|
89
139
|
defaultDriver?: string;
|
|
90
140
|
recursiveDriver?: (name: string) => string | undefined;
|
|
141
|
+
/** merge.<driver>.driver: the command a registered driver is given ({@link MergeDriverInput.command}) */
|
|
142
|
+
driverCommand?: (name: string) => string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Whether the configuration has a `merge.<name>` section (any `merge.<name>.*` key): such a
|
|
145
|
+
* driver without a registered one dies when it has no `merge.<name>.driver`
|
|
146
|
+
* ({@link MergeDriverCommandMissingError}), else merges as the builtin of its name (`text`
|
|
147
|
+
* for any other name), since a host that registers no driver cannot run the command
|
|
148
|
+
*/
|
|
149
|
+
configuredDriver?: (name: string) => boolean;
|
|
91
150
|
/** A merge of merge bases (`virtual_ancestor`): the recursive driver, the base on binary */
|
|
92
151
|
virtualAncestor?: boolean;
|
|
93
152
|
/** `-X ours` / `-X theirs` / `-X union` (ignored for a merge of merge bases) */
|
|
@@ -102,9 +161,12 @@ export interface LowLevelMergeOptions {
|
|
|
102
161
|
/** xdiff's whitespace bits (merge-ort's `-X ignore-space-change` and the like) */
|
|
103
162
|
whitespace?: number;
|
|
104
163
|
}
|
|
105
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* What {@link lowLevelMerge} gives: `binary` is git's `LL_MERGE_BINARY_CONFLICT`, `error`
|
|
166
|
+
* its `LL_MERGE_ERROR` (a driver that failed to run).
|
|
167
|
+
*/
|
|
106
168
|
export interface LowLevelMergeResult {
|
|
107
|
-
status: "ok" | "conflict" | "binary";
|
|
169
|
+
status: "ok" | "conflict" | "binary" | "error";
|
|
108
170
|
content: Uint8Array;
|
|
109
171
|
}
|
|
110
172
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-drivers.d.ts","sourceRoot":"","sources":["../../src/commands/merge-drivers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,aAAa,EAClB,K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AgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,IAAI,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC/C,OAAO,EAAE,UAAU,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CACjC,KAAK,EAAE,kBAAkB,EACzB,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAqE9B;AAgBD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,SAAS,GAAE;IACT,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CACtB,GACL,OAAO,CAAC,eAAe,CAAC,CAqD1B"}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* where it would overwrite local changes or untracked files, then the conflicts staged).
|
|
7
7
|
*/
|
|
8
8
|
import { type Blobs, type ObjectId, type RefLogOptions } from "@statewalker/vcs-core";
|
|
9
|
+
import { type ProgressMonitor } from "@statewalker/vcs-utils";
|
|
9
10
|
import type { ObjectFormat } from "@statewalker/vcs-utils/hash";
|
|
10
11
|
import { type CacheTree, type Checkout, type IndexEntryOptions, type Staging, type WorkingCopy, type Worktree } from "@statewalker/vcs-working-tree";
|
|
11
12
|
import type { CommandRefs, CommandTrees } from "../git-command.js";
|
|
@@ -255,6 +256,11 @@ export interface SwitchTreesOptions {
|
|
|
255
256
|
* submodules' dry runs) run, then nothing is written, neither worktree nor index
|
|
256
257
|
*/
|
|
257
258
|
checkOnly?: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* check_updates' "Updating files" (unpack-trees' `verbose_update`): one unit per file
|
|
261
|
+
* removed or written, files leaving a sparse checkout included
|
|
262
|
+
*/
|
|
263
|
+
progress?: ProgressMonitor;
|
|
258
264
|
}
|
|
259
265
|
/** git's default unpack-trees messages (`unpack_plumbing_errors`) for one refused path. */
|
|
260
266
|
export declare function plainUnpackError(kind: "wouldOverwrite" | "notUptodate" | "lostDir" | "untracked" | "untrackedRemoved", path: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-support.d.ts","sourceRoot":"","sources":["../../src/commands/merge-support.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,KAAK,KAAK,EAGV,KAAK,QAAQ,EAEb,KAAK,aAAa,EAEnB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"merge-support.d.ts","sourceRoot":"","sources":["../../src/commands/merge-support.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,KAAK,KAAK,EAGV,KAAK,QAAQ,EAEb,KAAK,aAAa,EAEnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAIL,KAAK,eAAe,EAErB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,QAAQ,EAGb,KAAK,iBAAiB,EAItB,KAAK,OAAO,EAEZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAIL,KAAK,eAAe,EAErB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EAMlB,MAAM,g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