@scolladon/tsgit 2.0.1 → 3.1.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 +14 -2
- package/dist/cjs/adapters/browser/index.cjs +1 -2
- package/dist/cjs/adapters/memory/index.cjs +1 -2
- package/dist/cjs/adapters/node/index.cjs +1 -2
- package/dist/cjs/chunks/adapter-detect-DW9fsw9d.cjs +1 -0
- package/dist/cjs/chunks/browser-http-transport-DGwW5YL7.cjs +1 -0
- package/dist/cjs/chunks/context-BcoAzPuU.cjs +0 -1
- package/dist/cjs/chunks/error-CfLWDui_.cjs +1 -0
- package/dist/cjs/chunks/index-Cy44GVR6.cjs +1 -0
- package/dist/cjs/chunks/inflate-CmCtM4-w.cjs +1 -0
- package/dist/cjs/chunks/lru-cache-1OU7JhD8.cjs +0 -1
- package/dist/cjs/chunks/memory-http-transport-CGriODcQ.cjs +1 -0
- package/dist/cjs/chunks/node-ssh-transport-PFu3ijfp.cjs +1 -0
- package/dist/cjs/chunks/{progress-CxU62NC1.cjs → progress-D8Dqbftk.cjs} +1 -2
- package/dist/cjs/chunks/readable-stream-MTA6D0Zh.cjs +0 -1
- package/dist/cjs/chunks/repository-Ci-BBxk0.cjs +1 -0
- package/dist/cjs/chunks/write-sparse-checkout-C1dsHCAD.cjs +1 -0
- package/dist/cjs/commands/index.cjs +1 -2
- package/dist/cjs/index.browser.cjs +1 -2
- package/dist/cjs/index.cjs +1 -2
- package/dist/cjs/index.default.cjs +1 -2
- package/dist/cjs/index.node.cjs +1 -2
- package/dist/cjs/operators/index.cjs +0 -1
- package/dist/cjs/primitives/index.cjs +1 -2
- package/dist/cjs/transport/index.cjs +0 -1
- package/dist/esm/adapters/browser/index.js +1 -2
- package/dist/esm/adapters/memory/index.js +1 -2
- package/dist/esm/adapters/node/index.js +1 -2
- package/dist/esm/chunks/adapter-detect-BkCMnjrI.js +1 -0
- package/dist/esm/chunks/browser-http-transport-CSxAte5h.js +1 -0
- package/dist/esm/chunks/context-CumKOV7K.js +0 -1
- package/dist/esm/chunks/error-BotOd-nD.js +1 -0
- package/dist/esm/chunks/index-DsvINN8n.js +1 -0
- package/dist/esm/chunks/inflate-BCIXqeeE.js +1 -0
- package/dist/esm/chunks/lru-cache-Cy7C7Lx2.js +0 -1
- package/dist/esm/chunks/memory-http-transport-caqmMGR1.js +1 -0
- package/dist/esm/chunks/node-ssh-transport-BgSv2IhT.js +1 -0
- package/dist/esm/chunks/{progress-BZobfl7p.js → progress-B_AJnOHx.js} +1 -2
- package/dist/esm/chunks/readable-stream-CGuf8k1J.js +0 -1
- package/dist/esm/chunks/repository-DyxknzvE.js +1 -0
- package/dist/esm/chunks/write-sparse-checkout-BwHbNKNS.js +1 -0
- package/dist/esm/commands/index.js +1 -2
- package/dist/esm/index.browser.js +1 -2
- package/dist/esm/index.default.js +1 -2
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.node.js +1 -2
- package/dist/esm/operators/index.js +0 -1
- package/dist/esm/primitives/index.js +1 -2
- package/dist/esm/transport/index.js +0 -1
- package/dist/types/adapters/browser/index.d.cts +5 -3
- package/dist/types/adapters/browser/index.d.ts +5 -3
- package/dist/types/adapters/memory/index.d.cts +31 -4
- package/dist/types/adapters/memory/index.d.ts +31 -4
- package/dist/types/adapters/node/index.d.cts +146 -40
- package/dist/types/adapters/node/index.d.ts +146 -40
- package/dist/types/chunks/{context-YDw6qicq.d.cts → context-CF1YF2S8.d.cts} +165 -6
- package/dist/types/chunks/{context-CCL0_F8R.d.ts → context-sIhhtk2u.d.ts} +165 -6
- package/dist/types/chunks/{http-transport--_NdQOiw.d.cts → http-transport-DirKfK2S.d.cts} +1 -1
- package/dist/types/chunks/{http-transport--_NdQOiw.d.ts → http-transport-DirKfK2S.d.ts} +1 -1
- package/dist/types/chunks/index-B5Dps3fg.d.ts +2468 -0
- package/dist/types/chunks/index-B_A8VLaf.d.ts +1221 -0
- package/dist/types/chunks/index-Dfh8cvEs.d.cts +2468 -0
- package/dist/types/chunks/index-Dqxddhav.d.cts +1221 -0
- package/dist/types/chunks/progress-BjAKfkam.d.ts +1217 -0
- package/dist/types/chunks/progress-Ldnfb8st.d.cts +1217 -0
- package/dist/types/chunks/reflog-entry-Cqh3QrPH.d.ts +697 -0
- package/dist/types/chunks/reflog-entry-Dy-O27Dd.d.cts +697 -0
- package/dist/types/chunks/{repository-FoS_Laoy.d.ts → repository-D8QBTkEz.d.ts} +58 -20
- package/dist/types/chunks/{repository-BeifCqp0.d.cts → repository-D9YrVhcH.d.cts} +58 -20
- package/dist/types/commands/index.d.cts +4 -1259
- package/dist/types/commands/index.d.ts +4 -1259
- package/dist/types/index.browser.d.cts +7 -8
- package/dist/types/index.browser.d.ts +7 -8
- package/dist/types/index.d.cts +61 -124
- package/dist/types/index.d.ts +61 -124
- package/dist/types/index.default.d.cts +7 -8
- package/dist/types/index.default.d.ts +7 -8
- package/dist/types/index.node.d.cts +7 -8
- package/dist/types/index.node.d.ts +7 -8
- package/dist/types/primitives/index.d.cts +4 -692
- package/dist/types/primitives/index.d.ts +4 -692
- package/dist/types/transport/index.d.cts +1 -1
- package/dist/types/transport/index.d.ts +1 -1
- package/package.json +94 -28
- package/dist/cjs/adapters/browser/index.cjs.map +0 -1
- package/dist/cjs/adapters/memory/index.cjs.map +0 -1
- package/dist/cjs/adapters/node/index.cjs.map +0 -1
- package/dist/cjs/chunks/adapter-detect-CD_LcgaH.cjs +0 -2
- package/dist/cjs/chunks/adapter-detect-CD_LcgaH.cjs.map +0 -1
- package/dist/cjs/chunks/browser-http-transport-CiMRqtDS.cjs +0 -2
- package/dist/cjs/chunks/browser-http-transport-CiMRqtDS.cjs.map +0 -1
- package/dist/cjs/chunks/context-BcoAzPuU.cjs.map +0 -1
- package/dist/cjs/chunks/error-CfjFO3x_.cjs +0 -2
- package/dist/cjs/chunks/error-CfjFO3x_.cjs.map +0 -1
- package/dist/cjs/chunks/index-BWCq_5BJ.cjs +0 -2
- package/dist/cjs/chunks/index-BWCq_5BJ.cjs.map +0 -1
- package/dist/cjs/chunks/lru-cache-1OU7JhD8.cjs.map +0 -1
- package/dist/cjs/chunks/memory-http-transport-BVL6VgB-.cjs +0 -2
- package/dist/cjs/chunks/memory-http-transport-BVL6VgB-.cjs.map +0 -1
- package/dist/cjs/chunks/node-http-transport-BvfVcf02.cjs +0 -2
- package/dist/cjs/chunks/node-http-transport-BvfVcf02.cjs.map +0 -1
- package/dist/cjs/chunks/progress-CxU62NC1.cjs.map +0 -1
- package/dist/cjs/chunks/readable-stream-MTA6D0Zh.cjs.map +0 -1
- package/dist/cjs/chunks/repository-BEg2zNtx.cjs +0 -2
- package/dist/cjs/chunks/repository-BEg2zNtx.cjs.map +0 -1
- package/dist/cjs/chunks/walk-submodules-D2Sp7JEB.cjs +0 -2
- package/dist/cjs/chunks/walk-submodules-D2Sp7JEB.cjs.map +0 -1
- package/dist/cjs/commands/index.cjs.map +0 -1
- package/dist/cjs/index.browser.cjs.map +0 -1
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/cjs/index.default.cjs.map +0 -1
- package/dist/cjs/index.node.cjs.map +0 -1
- package/dist/cjs/operators/index.cjs.map +0 -1
- package/dist/cjs/primitives/index.cjs.map +0 -1
- package/dist/cjs/transport/index.cjs.map +0 -1
- package/dist/esm/adapters/browser/index.js.map +0 -1
- package/dist/esm/adapters/memory/index.js.map +0 -1
- package/dist/esm/adapters/node/index.js.map +0 -1
- package/dist/esm/chunks/adapter-detect-DkZhhUhd.js +0 -2
- package/dist/esm/chunks/adapter-detect-DkZhhUhd.js.map +0 -1
- package/dist/esm/chunks/browser-http-transport-4rJkHcQu.js +0 -2
- package/dist/esm/chunks/browser-http-transport-4rJkHcQu.js.map +0 -1
- package/dist/esm/chunks/context-CumKOV7K.js.map +0 -1
- package/dist/esm/chunks/error-Dc-SRSJK.js +0 -2
- package/dist/esm/chunks/error-Dc-SRSJK.js.map +0 -1
- package/dist/esm/chunks/index-jH0UMhh-.js +0 -2
- package/dist/esm/chunks/index-jH0UMhh-.js.map +0 -1
- package/dist/esm/chunks/lru-cache-Cy7C7Lx2.js.map +0 -1
- package/dist/esm/chunks/memory-http-transport-CA1WxWBp.js +0 -2
- package/dist/esm/chunks/memory-http-transport-CA1WxWBp.js.map +0 -1
- package/dist/esm/chunks/node-http-transport-DPa2lK3T.js +0 -2
- package/dist/esm/chunks/node-http-transport-DPa2lK3T.js.map +0 -1
- package/dist/esm/chunks/progress-BZobfl7p.js.map +0 -1
- package/dist/esm/chunks/readable-stream-CGuf8k1J.js.map +0 -1
- package/dist/esm/chunks/repository-DF6ePd1x.js +0 -2
- package/dist/esm/chunks/repository-DF6ePd1x.js.map +0 -1
- package/dist/esm/chunks/walk-submodules-Dq9oGwP8.js +0 -2
- package/dist/esm/chunks/walk-submodules-Dq9oGwP8.js.map +0 -1
- package/dist/esm/commands/index.js.map +0 -1
- package/dist/esm/index.browser.js.map +0 -1
- package/dist/esm/index.default.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.node.js.map +0 -1
- package/dist/esm/operators/index.js.map +0 -1
- package/dist/esm/primitives/index.js.map +0 -1
- package/dist/esm/transport/index.js.map +0 -1
- package/dist/types/chunks/index-entry-DtEbVpOG.d.cts +0 -47
- package/dist/types/chunks/index-entry-UD4dvtKh.d.ts +0 -47
- package/dist/types/chunks/progress-7KKiXXfX.d.ts +0 -405
- package/dist/types/chunks/progress-By8yFaUE.d.cts +0 -405
- package/dist/types/chunks/reflog-entry-BbNnXCTC.d.cts +0 -368
- package/dist/types/chunks/reflog-entry-CSzjnZd4.d.ts +0 -368
- package/dist/types/chunks/write-tree-C3oNxOlX.d.cts +0 -196
- package/dist/types/chunks/write-tree-DRI-LzSr.d.ts +0 -196
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { O as OpenRepositoryOptions, R as Repository } from './chunks/repository-
|
|
2
|
-
export { A as AdapterSet, c as
|
|
3
|
-
export { P as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import './chunks/http-transport--_NdQOiw.cjs';
|
|
1
|
+
import { O as OpenRepositoryOptions, R as Repository } from './chunks/repository-D9YrVhcH.cjs';
|
|
2
|
+
export { A as AdapterSet, B as BodyLine, D as DiffError, a as Disposable, b as DomainObjectError, E as EntryOf, G as GenerationView, I as IndexCachedStat, c as IndexEntry, d as IndexEntryRow, e as IndexError, f as IndexFlags, g as IndexResolver, h as IndexSnapshot, i as InnerJoinRow, M as ModeKind, O as OuterJoinRow, j as OutputHunk, P as PatchFile, k as PatchOptions, l as PatchPathPrefix, m as Pathspec, R as ResolveOptions, S as Snapshot, n as SnapshotEntry, o as SnapshotFactory, p as SnapshotKind, q as SnapshotOptions, r as StashSnapshot, T as TreeEntry, s as TreeEntryRow, t as TreeResolver, u as TreeSnapshot, v as TsgitError, W as WalkIgnorePredicate, w as WorkdirEntry, x as WorkdirEntryRow, y as WorkdirEnumOptions, z as WorkdirEnumerator, C as WorkdirSnapshot, F as WorkdirSnapshotOptions, H as WorkdirStat, J as WriteEventEmitter, K as WriteEventStream, L as WriteScope, N as bytesToHex, Q as compareBytes, U as compareEntryPath, V as comparePaths, X as computeHunks, Y as consoleProgress, Z as detectRuntime, _ as hexToBytes, $ as invalidCommit, a0 as invalidDiffInput, a1 as invalidFileMode, a2 as invalidIdentity, a3 as invalidIndexEntry, a4 as invalidIndexHeader, a5 as invalidObjectHeader, a6 as invalidObjectId, a7 as invalidTag, a8 as invalidTreeEntry, a9 as invalidTreeForDiff, aa as isBrowser, ab as isGitlink, ac as isNode, ad as isSameKind, ae as kindOf, af as noopProgress, ag as parseIndex, ah as payloadByteLength, ai as renderPatch, aj as serializeIndex, ak as sortByPath, al as stripspace } from './chunks/progress-Ldnfb8st.cjs';
|
|
3
|
+
export { A as AddOptions, a as AddResult, b as ArchiveEntry, c as ArchiveOptions, d as ArchiveResult, B as BINARY_DETECTION_BYTES, e as BlameLine, f as BlameLineBase, g as BlameOptions, h as BlameResult, i as BlobSide, j as BranchCreateInput, k as BranchCreateResult, l as BranchDeleteInput, m as BranchDeleteResult, n as BranchInfo, o as BranchListResult, p as BranchNamespace, q as BranchRenameInput, r as BranchRenameResult, s as BundleCreateOptions, t as BundleCreateResult, u as BundleHashAlgorithm, v as BundleListHeadsInput, w as BundleListHeadsResult, x as BundleNamespace, y as BundlePrerequisite, z as BundleRef, C as BundleRevArg, D as BundleVerifyInput, E as BundleVerifyResult, F as BundleVersion, G as CatFileInput, H as CatFileResult, I as ChangeKind, J as ChangedPath, K as CheckoutOptions, L as CheckoutResult, M as CherryPickAbortResult, N as CherryPickConflict, O as CherryPickContinueInput, P as CherryPickNamespace, Q as CherryPickResult, R as CherryPickRunInput, S as CherryPickedCommit, T as CloneOptions, U as CloneResult, V as CommitOptions, W as CommitResult, X as CommittedBlameLine, Y as ConfigEntryView, Z as ConfigGetAllInput, _ as ConfigGetAllResult, $ as ConfigGetInput, a0 as ConfigGetRegexpInput, a1 as ConfigGetRegexpResult, a2 as ConfigGetResult, a3 as ConfigListInput, a4 as ConfigListResult, a5 as ConfigNamespace, a6 as ConfigRemoveSectionInput, a7 as ConfigRemoveSectionResult, a8 as ConfigRenameSectionInput, a9 as ConfigRenameSectionResult, aa as ConfigSetInput, ab as ConfigSetResult, ac as ConfigUnsetAllInput, ad as ConfigUnsetAllResult, ae as ConfigUnsetInput, af as ConfigUnsetResult, ag as ConflictKind, ah as DescribeOptions, ai as DescribeResult, aj as DiffOptions, ak as FetchMissingOptions, al as FetchMissingResult, am as FetchOptions, an as FetchResult, ao as FsckFinding, ap as FsckObjectType, aq as FsckOptions, ar as FsckResult, as as FsckSeverity, at as GrepFixedPattern, au as GrepLineHit, av as GrepMatcher, aw as GrepMatcherOptions, ax as GrepOptions, ay as GrepPathResult, az as GrepPattern, aA as GrepResult, aB as GroupedIndex, aC as InitOptions, aD as InitResult, aE as LineDiff, aF as LineDiffOptions, aG as LineHunk, aH as LineVerdict, aI as LogEntry, aJ as LogOptions, aK as LogOrder, aL as MAX_DIFF_EDIT_DISTANCE, aM as MAX_DIFF_ITERATION_FACTOR, aN as MAX_DIFF_LINES, aO as MAX_LINES, aP as MAX_LINE_BYTES, aQ as MatchSpan, aR as MergeAbortResult, aS as MergeContinueInput, aT as MergeContinueResult, aU as MergeNamespace, aV as MergeResult, aW as MergeRunInput, aX as MvMove, aY as MvOptions, aZ as MvResult, a_ as MvSkipReason, a$ as MvSkipped, b0 as NameRevOptions, b1 as NameRevResult, b2 as NameRevStep, b3 as NotesAddInput, b4 as NotesAddResult, b5 as NotesListInput, b6 as NotesListResult, b7 as NotesNamespace, b8 as NotesReadInput, b9 as NotesReadResult, ba as NotesRemoveInput, bb as NotesRemoveResult, bc as PullOptions, bd as PullResult, be as PushOptions, bf as PushResult, bg as RangeDiffCommit, bh as RangeDiffEntry, bi as RangeDiffOptions, bj as RangeDiffRange, bk as RangeDiffStatus, bl as ReadFileAtResult, bm as RebaseAbortResult, bn as RebaseConflict, bo as RebaseInstruction, bp as RebaseInteractiveAction, bq as RebaseNamespace, br as RebaseResult, bs as RebaseRunInput, bt as RebasedCommit, bu as ReflogAction, bv as ReflogResult, bw as ReflogShowEntry, bx as RemoteAddInput, by as RemoteAddResult, bz as RemoteInfo, bA as RemoteListResult, bB as RemoteNamespace, bC as RemoteRemoveInput, bD as RemoteRemoveResult, bE as RemoteRenameInput, bF as RemoteRenameResult, bG as RemoteSetUrlInput, bH as RemoteSetUrlResult, bI as RemoteShow, bJ as RemoteShowInput, bK as RemoteShowResult, bL as ResetMode, bM as ResetOptions, bN as ResetResult, bO as RevertAbortResult, bP as RevertConflict, bQ as RevertNamespace, bR as RevertResult, bS as RevertRunInput, bT as RevertedCommit, bU as RmOptions, bV as RmResult, bW as ShortlogBy, bX as ShortlogCommit, bY as ShortlogGroup, bZ as ShortlogOptions, b_ as ShowBlobResult, b$ as ShowCommitResult, c0 as ShowInput, c1 as ShowOptions, c2 as ShowResult, c3 as ShowTagResult, c4 as ShowTreeEntry, c5 as ShowTreeResult, c6 as SparseCheckoutAddInput, c7 as SparseCheckoutAppliedResult, c8 as SparseCheckoutDisableInput, c9 as SparseCheckoutListResult, ca as SparseCheckoutNamespace, cb as SparseCheckoutReapplyInput, cc as SparseCheckoutSetInput, cd as StashApplyInput, ce as StashApplyResult, cf as StashConflict, cg as StashDropInput, ch as StashDropResult, ci as StashListEntry, cj as StashListResult, ck as StashNamespace, cl as StashPopResult, cm as StashPushInput, cn as StashPushResult, co as StatusResult, cp as SubmoduleAddEntry, cq as SubmoduleAddOptions, cr as SubmoduleAddResult, cs as SubmoduleDeinitEntry, ct as SubmoduleDeinitOptions, cu as SubmoduleDeinitResult, cv as SubmoduleInitEntry, cw as SubmoduleInitOptions, cx as SubmoduleInitResult, cy as SubmoduleListOptions, cz as SubmoduleListResult, cA as SubmoduleNamespace, cB as SubmoduleSyncEntry, cC as SubmoduleSyncOptions, cD as SubmoduleSyncResult, cE as SubmoduleUpdateEntry, cF as SubmoduleUpdateOptions, cG as SubmoduleUpdateResult, cH as TagCreateInput, cI as TagCreateResult, cJ as TagDeleteInput, cK as TagDeleteResult, cL as TagInfo, cM as TagListResult, cN as TagNamespace, cO as UncommittedBlameLine, cP as UnmergedEntry, cQ as UnmergedEntryGroup, cR as WhatchangedEntry, cS as WhatchangedOptions, cT as WorktreeAddOptions, cU as WorktreeAddResult, cV as WorktreeEntry, cW as WorktreeListResult, cX as WorktreeMoveOptions, cY as WorktreeMoveResult, cZ as WorktreeNamespace, c_ as WorktreeRemoveOptions, c$ as WorktreeRemoveResult, d0 as WorktreeSide, d1 as add, d2 as archive, d3 as bindBranchNamespace, d4 as bindBundleNamespace, d5 as bindCherryPickNamespace, d6 as bindConfigNamespace, d7 as bindMergeNamespace, d8 as bindNotesNamespace, d9 as bindRebaseNamespace, da as bindRemoteNamespace, db as bindRevertNamespace, dc as bindSparseCheckoutNamespace, dd as bindStashNamespace, de as bindSubmoduleNamespace, df as bindTagNamespace, dg as bindWorktreeNamespace, dh as blame, di as branchCreate, dj as branchDelete, dk as branchList, dl as branchRename, dm as buildGrepMatcher, dn as bundleCreate, dp as bundleListHeads, dq as bundleVerify, dr as catFile, ds as checkout, dt as cherryPickAbort, du as cherryPickContinue, dv as cherryPickRun, dw as cherryPickSkip, dx as classifyUnmerged, dy as clone, dz as commit, dA as configGet, dB as configGetAll, dC as configGetRegexp, dD as configList, dE as configRemoveSection, dF as configRenameSection, dG as configSet, dH as configUnset, dI as configUnsetAll, dJ as conflictsToIndexEntries, dK as createPromisorRemote, dL as describe, dM as diff, dN as diffIndexAgainstTree, dO as diffLines, dP as fetch, dQ as fetchMissing, dR as fsck, dS as grep, dT as groupUnmergedEntries, dU as init, dV as isBinary, dW as log, dX as mergeAbort, dY as mergeContinue, dZ as mergeRun, d_ as mv, d$ as nameRev, e0 as notesAdd, e1 as notesList, e2 as notesRead, e3 as notesRemove, e4 as pull, e5 as push, e6 as rangeDiff, e7 as readFileAt, e8 as rebaseAbort, e9 as rebaseContinue, ea as rebaseRun, eb as rebaseSkip, ec as recordedPaths, ed as reflog, ee as remoteAdd, ef as remoteList, eg as remoteRemove, eh as remoteRename, ei as remoteSetUrl, ej as remoteShow, ek as reset, el as revParse, em as revertAbort, en as revertContinue, eo as revertRun, ep as revertSkip, eq as rm, er as shortlog, es as show, et as sortedRecordedPaths, eu as sparseCheckoutAdd, ev as sparseCheckoutDisable, ew as sparseCheckoutList, ex as sparseCheckoutReapply, ey as sparseCheckoutSet, ez as splitLines, eA as stashApply, eB as stashDrop, eC as stashList, eD as stashPop, eE as stashPush, eF as status, eG as submoduleAdd, eH as submoduleDeinit, eI as submoduleInit, eJ as submoduleList, eK as submoduleSync, eL as submoduleUpdate, eM as tagCreate, eN as tagDelete, eO as tagList, eP as whatchanged, eQ as worktreeAdd, eR as worktreeList, eS as worktreeMove, eT as worktreeRemove } from './chunks/index-Dfh8cvEs.cjs';
|
|
4
|
+
export { A as AddChange, a as AuthorIdentity, B as BisectMidpoint, b as Blob, C as CatFileBatchEntry, c as CatFileBatchOptions, d as Commit, e as CommitData, f as CopyChange, g as CreateCommitInput, h as CreateTagInput, D as DEFAULT_BREAK_SCORE, i as DEFAULT_MERGE_SCORE, j as DEFAULT_RENAME_THRESHOLD, k as DeleteChange, l as DiffChange, m as DiffChangeType, n as DiffTreesInput, o as DiffTreesOptions, E as ExtraHeader, F as FILE_MODE, p as FileMode, q as FlatTree, r as FlatTreeEntry, G as GitIndex, s as GitObject, I as IndexEntryFlags, t as IndexExtension, L as LineKey, M as MAX_COMMIT_MESSAGE_BYTES, u as MAX_FLAT_TREE_ENTRIES, v as MAX_GITATTRIBUTES_BYTES, w as MAX_GITIGNORE_BYTES, x as MAX_GITMODULES_BYTES, y as MAX_HAVES, z as MAX_INDEX_BYTES, H as MAX_PEEL_DEPTH, J as MAX_PUSH_OBJECTS, K as MAX_REFLOG_BYTES, N as MAX_SCORE, O as MAX_SUBMODULE_DEPTH, P as MAX_SYMBOLIC_REF_DEPTH, Q as MAX_WALK_QUEUE_SIZE, R as MAX_WALK_SEEDS, S as MAX_WORKING_TREE_BLOB_BYTES, T as ModifyChange, U as ObjectType, V as ReadObjectOptions, W as RenameChange, X as RenameDetectOptions, Y as ResolveRefOptions, Z as STAGE0_FLAGS, _ as SimilarityScore, $ as StatData, a0 as StatDiffChange, a1 as StatFields, a2 as StatFieldsOptions, a3 as StatTreeDiff, a4 as SubmoduleEntry, a5 as Tag, a6 as TagData, a7 as Tree, a8 as TreeDiff, a9 as TypeChangeChange, aa as UpdateRefOptions, ab as WalkCommitsByDateOptions, ac as WalkCommitsOptions, ad as WalkSubmodulesOptions, ae as WalkTreeEntry, af as WalkTreeOptions, ag as WalkWorkingTreeEntry, ah as WalkWorkingTreeOptions, ai as WhitespaceMode, aj as computeStatFields, ak as deriveWorkingMode, al as detectRenames, am as estimateSimilarity, an as isDirectory, ao as isStatClean, ap as lineKeyIsActive, aq as linesEqualUnder, ar as normalizeFileMode, as as normalizeLine, at as parseBlobContent, au as parseCommitContent, av as parseHeader, aw as parseIdentity, ax as parseObject, ay as parseTagContent, az as parseTreeContent, aA as resolveLineKey, aB as serializeBlobContent, aC as serializeCommitContent, aD as serializeHeader, aE as serializeIdentity, aF as serializeObject, aG as serializeTagContent, aH as serializeTreeContent, aI as skipWorktreeEntry, aJ as sortTreeEntries, aK as toSimilarityPercent, aL as treeEntryCompare, aM as validateFileMode } from './chunks/reflog-entry-Dy-O27Dd.cjs';
|
|
5
|
+
export { A as AuthStrategy, C as CommandRunner, a as Compressor, b as ConfigUserIdentity, c as Context, d as CreateContextParts, D as DirEntry, E as EMPTY_TREE_OID, e as EnvReader, F as FilePath, f as FileStat, g as FileSystem, H as HashConfig, h as HashService, i as Hasher, j as HookName, k as HookRequest, l as HookResult, m as HookRunner, L as Logger, O as ObjectId, P as ProgressReporter, n as PromisorFetchOutcome, o as PromisorRemote, R as RefName, p as RepositoryConfig, q as RepositoryLayout, S as SHA1_CONFIG, r as SHA256_CONFIG, s as SshChannel, t as SshSpawnRequest, u as SshTransport, Z as ZERO_OID, v as createContext, w as noopLogger, x as wrapLoggerSanitizer } from './chunks/context-CF1YF2S8.cjs';
|
|
6
|
+
export { A as ApplyChangesetOpts, a as ApplyChangesetResult, B as BlobStream, b as BuildIndexFromTreeOpts, c as BuildPackInput, d as BuildPackResult, C as Changeset, e as ChangesetEntry, f as ChangesetStats, g as ConfigEntry, D as DEFAULT_NOTES_REF, E as EnumerateObjectsOptions, h as EnumeratePushObjectsInput, F as FetchPackInput, i as FetchPackResult, H as HashBlobOptions, j as HookInput, I as IniSection, k as IsIgnoredMatch, l as IsIgnoredMatchSource, m as IsIgnoredQuery, L as LoadedNotesTree, M as MAX_SPARSE_PATTERN_FILE_BYTES, n as MaterializeTreeOpts, o as MaterializeTreeResult, p as MergeBaseOptions, P as ParsedConfig, q as PushDefaultMode, S as SignPayloadResult, r as SignRequest, s as StreamBlobOptions, V as ValuelessEntry, W as WorkingTreeComparison, t as WorkingTreeDelta, u as WriteNotesTreeInput, v as appendReflog, w as applyChangeset, x as applyConfigOpInText, y as bisectMidpoint, z as buildIndexFromTree, G as buildPack, J as catFileBatch, K as compareWorkingTreeDelta, N as compareWorkingTreeEntry, O as computeChangeset, Q as createCommit, R as createTag, T as deleteReflog, U as diffTrees, X as enumerateObjects, Y as enumeratePushObjects, Z as enumerateRefs, _ as fetchPack, $ as findFirstValuelessEntry, a0 as flattenTree, a1 as getAllConfigValues, a2 as getConfigValue, a3 as getRepoRoot, a4 as hasObject, a5 as hashBlob, a6 as invalidateConfigCache, a7 as invalidateScopedConfigCache, a8 as isIgnored, a9 as isWorkingTreeDirty, aa as listReflogs, ab as loadNotesTree, ac as loadSparseMatcher, ad as materializeTree, ae as materializeWorktreeFromHead, af as mergeBase, ag as parseIniSections, ah as readBlob, ai as readConfig, aj as readConfigSections, ak as readHeadTree, al as readIndex, am as readObject, an as readReflog, ao as readShallow, ap as readSparsePatternText, aq as readTree, ar as reflogExists, as as removeConfigSection, at as renameConfigSection, au as resolveNotesRef, av as resolveRef, aw as resolveReflogIdentity, ax as resolveSigningSelector, ay as runHook, az as runInformationalHook, aA as setConfigEntry, aB as setConfigEntryInText, aC as setCoreConfigEntryInText, aD as signPayload, aE as sparseCheckoutPath, aF as streamBlob, aG as synthesizeTreeFromIndex, aH as unsetAllConfigEntries, aI as unsetConfigEntry, aJ as updateConfigEntries, aK as updateCoreConfig, aL as updateRef, aM as updateShallow, aN as walkCommits, aO as walkCommitsByDate, aP as walkSubmodules, aQ as walkTree, aR as walkWorkingTree, aS as writeNotesTree, aT as writeObject, aU as writeReflog, aV as writeSparsePatternText, aW as writeTree } from './chunks/index-Dqxddhav.cjs';
|
|
7
|
+
export { H as HttpRequest, a as HttpResponse, b as HttpTransport } from './chunks/http-transport-DirKfK2S.cjs';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Browser-runtime extension to `OpenRepositoryOptions`. The browser cannot
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { O as OpenRepositoryOptions, R as Repository } from './chunks/repository-
|
|
2
|
-
export { A as AdapterSet, c as
|
|
3
|
-
export { P as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import './chunks/http-transport--_NdQOiw.js';
|
|
1
|
+
import { O as OpenRepositoryOptions, R as Repository } from './chunks/repository-D8QBTkEz.js';
|
|
2
|
+
export { A as AdapterSet, B as BodyLine, D as DiffError, a as Disposable, b as DomainObjectError, E as EntryOf, G as GenerationView, I as IndexCachedStat, c as IndexEntry, d as IndexEntryRow, e as IndexError, f as IndexFlags, g as IndexResolver, h as IndexSnapshot, i as InnerJoinRow, M as ModeKind, O as OuterJoinRow, j as OutputHunk, P as PatchFile, k as PatchOptions, l as PatchPathPrefix, m as Pathspec, R as ResolveOptions, S as Snapshot, n as SnapshotEntry, o as SnapshotFactory, p as SnapshotKind, q as SnapshotOptions, r as StashSnapshot, T as TreeEntry, s as TreeEntryRow, t as TreeResolver, u as TreeSnapshot, v as TsgitError, W as WalkIgnorePredicate, w as WorkdirEntry, x as WorkdirEntryRow, y as WorkdirEnumOptions, z as WorkdirEnumerator, C as WorkdirSnapshot, F as WorkdirSnapshotOptions, H as WorkdirStat, J as WriteEventEmitter, K as WriteEventStream, L as WriteScope, N as bytesToHex, Q as compareBytes, U as compareEntryPath, V as comparePaths, X as computeHunks, Y as consoleProgress, Z as detectRuntime, _ as hexToBytes, $ as invalidCommit, a0 as invalidDiffInput, a1 as invalidFileMode, a2 as invalidIdentity, a3 as invalidIndexEntry, a4 as invalidIndexHeader, a5 as invalidObjectHeader, a6 as invalidObjectId, a7 as invalidTag, a8 as invalidTreeEntry, a9 as invalidTreeForDiff, aa as isBrowser, ab as isGitlink, ac as isNode, ad as isSameKind, ae as kindOf, af as noopProgress, ag as parseIndex, ah as payloadByteLength, ai as renderPatch, aj as serializeIndex, ak as sortByPath, al as stripspace } from './chunks/progress-BjAKfkam.js';
|
|
3
|
+
export { A as AddOptions, a as AddResult, b as ArchiveEntry, c as ArchiveOptions, d as ArchiveResult, B as BINARY_DETECTION_BYTES, e as BlameLine, f as BlameLineBase, g as BlameOptions, h as BlameResult, i as BlobSide, j as BranchCreateInput, k as BranchCreateResult, l as BranchDeleteInput, m as BranchDeleteResult, n as BranchInfo, o as BranchListResult, p as BranchNamespace, q as BranchRenameInput, r as BranchRenameResult, s as BundleCreateOptions, t as BundleCreateResult, u as BundleHashAlgorithm, v as BundleListHeadsInput, w as BundleListHeadsResult, x as BundleNamespace, y as BundlePrerequisite, z as BundleRef, C as BundleRevArg, D as BundleVerifyInput, E as BundleVerifyResult, F as BundleVersion, G as CatFileInput, H as CatFileResult, I as ChangeKind, J as ChangedPath, K as CheckoutOptions, L as CheckoutResult, M as CherryPickAbortResult, N as CherryPickConflict, O as CherryPickContinueInput, P as CherryPickNamespace, Q as CherryPickResult, R as CherryPickRunInput, S as CherryPickedCommit, T as CloneOptions, U as CloneResult, V as CommitOptions, W as CommitResult, X as CommittedBlameLine, Y as ConfigEntryView, Z as ConfigGetAllInput, _ as ConfigGetAllResult, $ as ConfigGetInput, a0 as ConfigGetRegexpInput, a1 as ConfigGetRegexpResult, a2 as ConfigGetResult, a3 as ConfigListInput, a4 as ConfigListResult, a5 as ConfigNamespace, a6 as ConfigRemoveSectionInput, a7 as ConfigRemoveSectionResult, a8 as ConfigRenameSectionInput, a9 as ConfigRenameSectionResult, aa as ConfigSetInput, ab as ConfigSetResult, ac as ConfigUnsetAllInput, ad as ConfigUnsetAllResult, ae as ConfigUnsetInput, af as ConfigUnsetResult, ag as ConflictKind, ah as DescribeOptions, ai as DescribeResult, aj as DiffOptions, ak as FetchMissingOptions, al as FetchMissingResult, am as FetchOptions, an as FetchResult, ao as FsckFinding, ap as FsckObjectType, aq as FsckOptions, ar as FsckResult, as as FsckSeverity, at as GrepFixedPattern, au as GrepLineHit, av as GrepMatcher, aw as GrepMatcherOptions, ax as GrepOptions, ay as GrepPathResult, az as GrepPattern, aA as GrepResult, aB as GroupedIndex, aC as InitOptions, aD as InitResult, aE as LineDiff, aF as LineDiffOptions, aG as LineHunk, aH as LineVerdict, aI as LogEntry, aJ as LogOptions, aK as LogOrder, aL as MAX_DIFF_EDIT_DISTANCE, aM as MAX_DIFF_ITERATION_FACTOR, aN as MAX_DIFF_LINES, aO as MAX_LINES, aP as MAX_LINE_BYTES, aQ as MatchSpan, aR as MergeAbortResult, aS as MergeContinueInput, aT as MergeContinueResult, aU as MergeNamespace, aV as MergeResult, aW as MergeRunInput, aX as MvMove, aY as MvOptions, aZ as MvResult, a_ as MvSkipReason, a$ as MvSkipped, b0 as NameRevOptions, b1 as NameRevResult, b2 as NameRevStep, b3 as NotesAddInput, b4 as NotesAddResult, b5 as NotesListInput, b6 as NotesListResult, b7 as NotesNamespace, b8 as NotesReadInput, b9 as NotesReadResult, ba as NotesRemoveInput, bb as NotesRemoveResult, bc as PullOptions, bd as PullResult, be as PushOptions, bf as PushResult, bg as RangeDiffCommit, bh as RangeDiffEntry, bi as RangeDiffOptions, bj as RangeDiffRange, bk as RangeDiffStatus, bl as ReadFileAtResult, bm as RebaseAbortResult, bn as RebaseConflict, bo as RebaseInstruction, bp as RebaseInteractiveAction, bq as RebaseNamespace, br as RebaseResult, bs as RebaseRunInput, bt as RebasedCommit, bu as ReflogAction, bv as ReflogResult, bw as ReflogShowEntry, bx as RemoteAddInput, by as RemoteAddResult, bz as RemoteInfo, bA as RemoteListResult, bB as RemoteNamespace, bC as RemoteRemoveInput, bD as RemoteRemoveResult, bE as RemoteRenameInput, bF as RemoteRenameResult, bG as RemoteSetUrlInput, bH as RemoteSetUrlResult, bI as RemoteShow, bJ as RemoteShowInput, bK as RemoteShowResult, bL as ResetMode, bM as ResetOptions, bN as ResetResult, bO as RevertAbortResult, bP as RevertConflict, bQ as RevertNamespace, bR as RevertResult, bS as RevertRunInput, bT as RevertedCommit, bU as RmOptions, bV as RmResult, bW as ShortlogBy, bX as ShortlogCommit, bY as ShortlogGroup, bZ as ShortlogOptions, b_ as ShowBlobResult, b$ as ShowCommitResult, c0 as ShowInput, c1 as ShowOptions, c2 as ShowResult, c3 as ShowTagResult, c4 as ShowTreeEntry, c5 as ShowTreeResult, c6 as SparseCheckoutAddInput, c7 as SparseCheckoutAppliedResult, c8 as SparseCheckoutDisableInput, c9 as SparseCheckoutListResult, ca as SparseCheckoutNamespace, cb as SparseCheckoutReapplyInput, cc as SparseCheckoutSetInput, cd as StashApplyInput, ce as StashApplyResult, cf as StashConflict, cg as StashDropInput, ch as StashDropResult, ci as StashListEntry, cj as StashListResult, ck as StashNamespace, cl as StashPopResult, cm as StashPushInput, cn as StashPushResult, co as StatusResult, cp as SubmoduleAddEntry, cq as SubmoduleAddOptions, cr as SubmoduleAddResult, cs as SubmoduleDeinitEntry, ct as SubmoduleDeinitOptions, cu as SubmoduleDeinitResult, cv as SubmoduleInitEntry, cw as SubmoduleInitOptions, cx as SubmoduleInitResult, cy as SubmoduleListOptions, cz as SubmoduleListResult, cA as SubmoduleNamespace, cB as SubmoduleSyncEntry, cC as SubmoduleSyncOptions, cD as SubmoduleSyncResult, cE as SubmoduleUpdateEntry, cF as SubmoduleUpdateOptions, cG as SubmoduleUpdateResult, cH as TagCreateInput, cI as TagCreateResult, cJ as TagDeleteInput, cK as TagDeleteResult, cL as TagInfo, cM as TagListResult, cN as TagNamespace, cO as UncommittedBlameLine, cP as UnmergedEntry, cQ as UnmergedEntryGroup, cR as WhatchangedEntry, cS as WhatchangedOptions, cT as WorktreeAddOptions, cU as WorktreeAddResult, cV as WorktreeEntry, cW as WorktreeListResult, cX as WorktreeMoveOptions, cY as WorktreeMoveResult, cZ as WorktreeNamespace, c_ as WorktreeRemoveOptions, c$ as WorktreeRemoveResult, d0 as WorktreeSide, d1 as add, d2 as archive, d3 as bindBranchNamespace, d4 as bindBundleNamespace, d5 as bindCherryPickNamespace, d6 as bindConfigNamespace, d7 as bindMergeNamespace, d8 as bindNotesNamespace, d9 as bindRebaseNamespace, da as bindRemoteNamespace, db as bindRevertNamespace, dc as bindSparseCheckoutNamespace, dd as bindStashNamespace, de as bindSubmoduleNamespace, df as bindTagNamespace, dg as bindWorktreeNamespace, dh as blame, di as branchCreate, dj as branchDelete, dk as branchList, dl as branchRename, dm as buildGrepMatcher, dn as bundleCreate, dp as bundleListHeads, dq as bundleVerify, dr as catFile, ds as checkout, dt as cherryPickAbort, du as cherryPickContinue, dv as cherryPickRun, dw as cherryPickSkip, dx as classifyUnmerged, dy as clone, dz as commit, dA as configGet, dB as configGetAll, dC as configGetRegexp, dD as configList, dE as configRemoveSection, dF as configRenameSection, dG as configSet, dH as configUnset, dI as configUnsetAll, dJ as conflictsToIndexEntries, dK as createPromisorRemote, dL as describe, dM as diff, dN as diffIndexAgainstTree, dO as diffLines, dP as fetch, dQ as fetchMissing, dR as fsck, dS as grep, dT as groupUnmergedEntries, dU as init, dV as isBinary, dW as log, dX as mergeAbort, dY as mergeContinue, dZ as mergeRun, d_ as mv, d$ as nameRev, e0 as notesAdd, e1 as notesList, e2 as notesRead, e3 as notesRemove, e4 as pull, e5 as push, e6 as rangeDiff, e7 as readFileAt, e8 as rebaseAbort, e9 as rebaseContinue, ea as rebaseRun, eb as rebaseSkip, ec as recordedPaths, ed as reflog, ee as remoteAdd, ef as remoteList, eg as remoteRemove, eh as remoteRename, ei as remoteSetUrl, ej as remoteShow, ek as reset, el as revParse, em as revertAbort, en as revertContinue, eo as revertRun, ep as revertSkip, eq as rm, er as shortlog, es as show, et as sortedRecordedPaths, eu as sparseCheckoutAdd, ev as sparseCheckoutDisable, ew as sparseCheckoutList, ex as sparseCheckoutReapply, ey as sparseCheckoutSet, ez as splitLines, eA as stashApply, eB as stashDrop, eC as stashList, eD as stashPop, eE as stashPush, eF as status, eG as submoduleAdd, eH as submoduleDeinit, eI as submoduleInit, eJ as submoduleList, eK as submoduleSync, eL as submoduleUpdate, eM as tagCreate, eN as tagDelete, eO as tagList, eP as whatchanged, eQ as worktreeAdd, eR as worktreeList, eS as worktreeMove, eT as worktreeRemove } from './chunks/index-B5Dps3fg.js';
|
|
4
|
+
export { A as AddChange, a as AuthorIdentity, B as BisectMidpoint, b as Blob, C as CatFileBatchEntry, c as CatFileBatchOptions, d as Commit, e as CommitData, f as CopyChange, g as CreateCommitInput, h as CreateTagInput, D as DEFAULT_BREAK_SCORE, i as DEFAULT_MERGE_SCORE, j as DEFAULT_RENAME_THRESHOLD, k as DeleteChange, l as DiffChange, m as DiffChangeType, n as DiffTreesInput, o as DiffTreesOptions, E as ExtraHeader, F as FILE_MODE, p as FileMode, q as FlatTree, r as FlatTreeEntry, G as GitIndex, s as GitObject, I as IndexEntryFlags, t as IndexExtension, L as LineKey, M as MAX_COMMIT_MESSAGE_BYTES, u as MAX_FLAT_TREE_ENTRIES, v as MAX_GITATTRIBUTES_BYTES, w as MAX_GITIGNORE_BYTES, x as MAX_GITMODULES_BYTES, y as MAX_HAVES, z as MAX_INDEX_BYTES, H as MAX_PEEL_DEPTH, J as MAX_PUSH_OBJECTS, K as MAX_REFLOG_BYTES, N as MAX_SCORE, O as MAX_SUBMODULE_DEPTH, P as MAX_SYMBOLIC_REF_DEPTH, Q as MAX_WALK_QUEUE_SIZE, R as MAX_WALK_SEEDS, S as MAX_WORKING_TREE_BLOB_BYTES, T as ModifyChange, U as ObjectType, V as ReadObjectOptions, W as RenameChange, X as RenameDetectOptions, Y as ResolveRefOptions, Z as STAGE0_FLAGS, _ as SimilarityScore, $ as StatData, a0 as StatDiffChange, a1 as StatFields, a2 as StatFieldsOptions, a3 as StatTreeDiff, a4 as SubmoduleEntry, a5 as Tag, a6 as TagData, a7 as Tree, a8 as TreeDiff, a9 as TypeChangeChange, aa as UpdateRefOptions, ab as WalkCommitsByDateOptions, ac as WalkCommitsOptions, ad as WalkSubmodulesOptions, ae as WalkTreeEntry, af as WalkTreeOptions, ag as WalkWorkingTreeEntry, ah as WalkWorkingTreeOptions, ai as WhitespaceMode, aj as computeStatFields, ak as deriveWorkingMode, al as detectRenames, am as estimateSimilarity, an as isDirectory, ao as isStatClean, ap as lineKeyIsActive, aq as linesEqualUnder, ar as normalizeFileMode, as as normalizeLine, at as parseBlobContent, au as parseCommitContent, av as parseHeader, aw as parseIdentity, ax as parseObject, ay as parseTagContent, az as parseTreeContent, aA as resolveLineKey, aB as serializeBlobContent, aC as serializeCommitContent, aD as serializeHeader, aE as serializeIdentity, aF as serializeObject, aG as serializeTagContent, aH as serializeTreeContent, aI as skipWorktreeEntry, aJ as sortTreeEntries, aK as toSimilarityPercent, aL as treeEntryCompare, aM as validateFileMode } from './chunks/reflog-entry-Cqh3QrPH.js';
|
|
5
|
+
export { A as AuthStrategy, C as CommandRunner, a as Compressor, b as ConfigUserIdentity, c as Context, d as CreateContextParts, D as DirEntry, E as EMPTY_TREE_OID, e as EnvReader, F as FilePath, f as FileStat, g as FileSystem, H as HashConfig, h as HashService, i as Hasher, j as HookName, k as HookRequest, l as HookResult, m as HookRunner, L as Logger, O as ObjectId, P as ProgressReporter, n as PromisorFetchOutcome, o as PromisorRemote, R as RefName, p as RepositoryConfig, q as RepositoryLayout, S as SHA1_CONFIG, r as SHA256_CONFIG, s as SshChannel, t as SshSpawnRequest, u as SshTransport, Z as ZERO_OID, v as createContext, w as noopLogger, x as wrapLoggerSanitizer } from './chunks/context-sIhhtk2u.js';
|
|
6
|
+
export { A as ApplyChangesetOpts, a as ApplyChangesetResult, B as BlobStream, b as BuildIndexFromTreeOpts, c as BuildPackInput, d as BuildPackResult, C as Changeset, e as ChangesetEntry, f as ChangesetStats, g as ConfigEntry, D as DEFAULT_NOTES_REF, E as EnumerateObjectsOptions, h as EnumeratePushObjectsInput, F as FetchPackInput, i as FetchPackResult, H as HashBlobOptions, j as HookInput, I as IniSection, k as IsIgnoredMatch, l as IsIgnoredMatchSource, m as IsIgnoredQuery, L as LoadedNotesTree, M as MAX_SPARSE_PATTERN_FILE_BYTES, n as MaterializeTreeOpts, o as MaterializeTreeResult, p as MergeBaseOptions, P as ParsedConfig, q as PushDefaultMode, S as SignPayloadResult, r as SignRequest, s as StreamBlobOptions, V as ValuelessEntry, W as WorkingTreeComparison, t as WorkingTreeDelta, u as WriteNotesTreeInput, v as appendReflog, w as applyChangeset, x as applyConfigOpInText, y as bisectMidpoint, z as buildIndexFromTree, G as buildPack, J as catFileBatch, K as compareWorkingTreeDelta, N as compareWorkingTreeEntry, O as computeChangeset, Q as createCommit, R as createTag, T as deleteReflog, U as diffTrees, X as enumerateObjects, Y as enumeratePushObjects, Z as enumerateRefs, _ as fetchPack, $ as findFirstValuelessEntry, a0 as flattenTree, a1 as getAllConfigValues, a2 as getConfigValue, a3 as getRepoRoot, a4 as hasObject, a5 as hashBlob, a6 as invalidateConfigCache, a7 as invalidateScopedConfigCache, a8 as isIgnored, a9 as isWorkingTreeDirty, aa as listReflogs, ab as loadNotesTree, ac as loadSparseMatcher, ad as materializeTree, ae as materializeWorktreeFromHead, af as mergeBase, ag as parseIniSections, ah as readBlob, ai as readConfig, aj as readConfigSections, ak as readHeadTree, al as readIndex, am as readObject, an as readReflog, ao as readShallow, ap as readSparsePatternText, aq as readTree, ar as reflogExists, as as removeConfigSection, at as renameConfigSection, au as resolveNotesRef, av as resolveRef, aw as resolveReflogIdentity, ax as resolveSigningSelector, ay as runHook, az as runInformationalHook, aA as setConfigEntry, aB as setConfigEntryInText, aC as setCoreConfigEntryInText, aD as signPayload, aE as sparseCheckoutPath, aF as streamBlob, aG as synthesizeTreeFromIndex, aH as unsetAllConfigEntries, aI as unsetConfigEntry, aJ as updateConfigEntries, aK as updateCoreConfig, aL as updateRef, aM as updateShallow, aN as walkCommits, aO as walkCommitsByDate, aP as walkSubmodules, aQ as walkTree, aR as walkWorkingTree, aS as writeNotesTree, aT as writeObject, aU as writeReflog, aV as writeSparsePatternText, aW as writeTree } from './chunks/index-B_A8VLaf.js';
|
|
7
|
+
export { H as HttpRequest, a as HttpResponse, b as HttpTransport } from './chunks/http-transport-DirKfK2S.js';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Browser-runtime extension to `OpenRepositoryOptions`. The browser cannot
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,96 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AdapterSet, h as IndexSnapshot, R as ResolveOptions,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { A as
|
|
6
|
-
|
|
7
|
-
export { C as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
type OuterJoinRow<S> = {
|
|
24
|
-
readonly path: FilePath;
|
|
25
|
-
} & {
|
|
26
|
-
readonly [K in keyof S]?: EntryOf<S[K]>;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Inner-join row — `path` is mandatory and every named slot is REQUIRED
|
|
30
|
-
* (no `?`). Only rows where every source contributed an entry at the
|
|
31
|
-
* given path are emitted.
|
|
32
|
-
*/
|
|
33
|
-
type InnerJoinRow<S> = {
|
|
34
|
-
readonly path: FilePath;
|
|
35
|
-
} & {
|
|
36
|
-
readonly [K in keyof S]: EntryOf<S[K]>;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Discriminator for write-target categories used across the CQS port triple
|
|
41
|
-
* — `WriteEventEmitter` (command), `WriteEventStream` (subscribe), and
|
|
42
|
-
* `GenerationView` (query). See ADR-157 for the rationale of splitting
|
|
43
|
-
* those three concerns across separate port files; `WriteScope` lives in
|
|
44
|
-
* its own file so none of the three ports needs to import another's
|
|
45
|
-
* declaration, preserving the CQS split at the import-graph level.
|
|
46
|
-
*/
|
|
47
|
-
type WriteScope = 'index' | 'refs' | 'objects';
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Query side of the write-event triple (ADR-157). Read primitives depend on
|
|
51
|
-
* this interface only — they query the current generation per scope but
|
|
52
|
-
* cannot emit or subscribe.
|
|
53
|
-
*
|
|
54
|
-
* `current(scope)` is monotonic per scope: each successful `WriteEventEmitter.emit(scope)`
|
|
55
|
-
* increments the corresponding counter exactly once. Scopes are independent
|
|
56
|
-
* — `emit('index')` does not affect `current('refs')` or `current('objects')`.
|
|
57
|
-
*/
|
|
58
|
-
interface GenerationView {
|
|
59
|
-
current(scope: WriteScope): number;
|
|
1
|
+
import { S as Snapshot, n as SnapshotEntry, i as InnerJoinRow, O as OuterJoinRow } from './chunks/progress-Ldnfb8st.cjs';
|
|
2
|
+
export { A as AdapterSet, B as BodyLine, D as DiffError, a as Disposable, b as DomainObjectError, E as EntryOf, G as GenerationView, I as IndexCachedStat, c as IndexEntry, d as IndexEntryRow, e as IndexError, f as IndexFlags, g as IndexResolver, h as IndexSnapshot, M as ModeKind, j as OutputHunk, P as PatchFile, k as PatchOptions, l as PatchPathPrefix, m as Pathspec, R as ResolveOptions, o as SnapshotFactory, p as SnapshotKind, q as SnapshotOptions, r as StashSnapshot, T as TreeEntry, s as TreeEntryRow, t as TreeResolver, u as TreeSnapshot, v as TsgitError, W as WalkIgnorePredicate, w as WorkdirEntry, x as WorkdirEntryRow, y as WorkdirEnumOptions, z as WorkdirEnumerator, C as WorkdirSnapshot, F as WorkdirSnapshotOptions, H as WorkdirStat, J as WriteEventEmitter, K as WriteEventStream, L as WriteScope, N as bytesToHex, Q as compareBytes, U as compareEntryPath, V as comparePaths, X as computeHunks, Y as consoleProgress, Z as detectRuntime, _ as hexToBytes, $ as invalidCommit, a0 as invalidDiffInput, a1 as invalidFileMode, a2 as invalidIdentity, a3 as invalidIndexEntry, a4 as invalidIndexHeader, a5 as invalidObjectHeader, a6 as invalidObjectId, a7 as invalidTag, a8 as invalidTreeEntry, a9 as invalidTreeForDiff, aa as isBrowser, ab as isGitlink, ac as isNode, ad as isSameKind, ae as kindOf, af as noopProgress, ag as parseIndex, ah as payloadByteLength, ai as renderPatch, aj as serializeIndex, ak as sortByPath, al as stripspace } from './chunks/progress-Ldnfb8st.cjs';
|
|
3
|
+
import { d as ArchiveResult } from './chunks/index-Dfh8cvEs.cjs';
|
|
4
|
+
export { A as AddOptions, a as AddResult, b as ArchiveEntry, c as ArchiveOptions, B as BINARY_DETECTION_BYTES, e as BlameLine, f as BlameLineBase, g as BlameOptions, h as BlameResult, i as BlobSide, j as BranchCreateInput, k as BranchCreateResult, l as BranchDeleteInput, m as BranchDeleteResult, n as BranchInfo, o as BranchListResult, p as BranchNamespace, q as BranchRenameInput, r as BranchRenameResult, s as BundleCreateOptions, t as BundleCreateResult, u as BundleHashAlgorithm, v as BundleListHeadsInput, w as BundleListHeadsResult, x as BundleNamespace, y as BundlePrerequisite, z as BundleRef, C as BundleRevArg, D as BundleVerifyInput, E as BundleVerifyResult, F as BundleVersion, G as CatFileInput, H as CatFileResult, I as ChangeKind, J as ChangedPath, K as CheckoutOptions, L as CheckoutResult, M as CherryPickAbortResult, N as CherryPickConflict, O as CherryPickContinueInput, P as CherryPickNamespace, Q as CherryPickResult, R as CherryPickRunInput, S as CherryPickedCommit, T as CloneOptions, U as CloneResult, V as CommitOptions, W as CommitResult, X as CommittedBlameLine, Y as ConfigEntryView, Z as ConfigGetAllInput, _ as ConfigGetAllResult, $ as ConfigGetInput, a0 as ConfigGetRegexpInput, a1 as ConfigGetRegexpResult, a2 as ConfigGetResult, a3 as ConfigListInput, a4 as ConfigListResult, a5 as ConfigNamespace, a6 as ConfigRemoveSectionInput, a7 as ConfigRemoveSectionResult, a8 as ConfigRenameSectionInput, a9 as ConfigRenameSectionResult, aa as ConfigSetInput, ab as ConfigSetResult, ac as ConfigUnsetAllInput, ad as ConfigUnsetAllResult, ae as ConfigUnsetInput, af as ConfigUnsetResult, ag as ConflictKind, ah as DescribeOptions, ai as DescribeResult, aj as DiffOptions, ak as FetchMissingOptions, al as FetchMissingResult, am as FetchOptions, an as FetchResult, ao as FsckFinding, ap as FsckObjectType, aq as FsckOptions, ar as FsckResult, as as FsckSeverity, at as GrepFixedPattern, au as GrepLineHit, av as GrepMatcher, aw as GrepMatcherOptions, ax as GrepOptions, ay as GrepPathResult, az as GrepPattern, aA as GrepResult, aB as GroupedIndex, aC as InitOptions, aD as InitResult, aE as LineDiff, aF as LineDiffOptions, aG as LineHunk, aH as LineVerdict, aI as LogEntry, aJ as LogOptions, aK as LogOrder, aL as MAX_DIFF_EDIT_DISTANCE, aM as MAX_DIFF_ITERATION_FACTOR, aN as MAX_DIFF_LINES, aO as MAX_LINES, aP as MAX_LINE_BYTES, aQ as MatchSpan, aR as MergeAbortResult, aS as MergeContinueInput, aT as MergeContinueResult, aU as MergeNamespace, aV as MergeResult, aW as MergeRunInput, aX as MvMove, aY as MvOptions, aZ as MvResult, a_ as MvSkipReason, a$ as MvSkipped, b0 as NameRevOptions, b1 as NameRevResult, b2 as NameRevStep, b3 as NotesAddInput, b4 as NotesAddResult, b5 as NotesListInput, b6 as NotesListResult, b7 as NotesNamespace, b8 as NotesReadInput, b9 as NotesReadResult, ba as NotesRemoveInput, bb as NotesRemoveResult, bc as PullOptions, bd as PullResult, be as PushOptions, bf as PushResult, bg as RangeDiffCommit, bh as RangeDiffEntry, bi as RangeDiffOptions, bj as RangeDiffRange, bk as RangeDiffStatus, bl as ReadFileAtResult, bm as RebaseAbortResult, bn as RebaseConflict, bo as RebaseInstruction, bp as RebaseInteractiveAction, bq as RebaseNamespace, br as RebaseResult, bs as RebaseRunInput, bt as RebasedCommit, bu as ReflogAction, bv as ReflogResult, bw as ReflogShowEntry, bx as RemoteAddInput, by as RemoteAddResult, bz as RemoteInfo, bA as RemoteListResult, bB as RemoteNamespace, bC as RemoteRemoveInput, bD as RemoteRemoveResult, bE as RemoteRenameInput, bF as RemoteRenameResult, bG as RemoteSetUrlInput, bH as RemoteSetUrlResult, bI as RemoteShow, bJ as RemoteShowInput, bK as RemoteShowResult, bL as ResetMode, bM as ResetOptions, bN as ResetResult, bO as RevertAbortResult, bP as RevertConflict, bQ as RevertNamespace, bR as RevertResult, bS as RevertRunInput, bT as RevertedCommit, bU as RmOptions, bV as RmResult, bW as ShortlogBy, bX as ShortlogCommit, bY as ShortlogGroup, bZ as ShortlogOptions, b_ as ShowBlobResult, b$ as ShowCommitResult, c0 as ShowInput, c1 as ShowOptions, c2 as ShowResult, c3 as ShowTagResult, c4 as ShowTreeEntry, c5 as ShowTreeResult, c6 as SparseCheckoutAddInput, c7 as SparseCheckoutAppliedResult, c8 as SparseCheckoutDisableInput, c9 as SparseCheckoutListResult, ca as SparseCheckoutNamespace, cb as SparseCheckoutReapplyInput, cc as SparseCheckoutSetInput, cd as StashApplyInput, ce as StashApplyResult, cf as StashConflict, cg as StashDropInput, ch as StashDropResult, ci as StashListEntry, cj as StashListResult, ck as StashNamespace, cl as StashPopResult, cm as StashPushInput, cn as StashPushResult, co as StatusResult, cp as SubmoduleAddEntry, cq as SubmoduleAddOptions, cr as SubmoduleAddResult, cs as SubmoduleDeinitEntry, ct as SubmoduleDeinitOptions, cu as SubmoduleDeinitResult, cv as SubmoduleInitEntry, cw as SubmoduleInitOptions, cx as SubmoduleInitResult, cy as SubmoduleListOptions, cz as SubmoduleListResult, cA as SubmoduleNamespace, cB as SubmoduleSyncEntry, cC as SubmoduleSyncOptions, cD as SubmoduleSyncResult, cE as SubmoduleUpdateEntry, cF as SubmoduleUpdateOptions, cG as SubmoduleUpdateResult, cH as TagCreateInput, cI as TagCreateResult, cJ as TagDeleteInput, cK as TagDeleteResult, cL as TagInfo, cM as TagListResult, cN as TagNamespace, cO as UncommittedBlameLine, cP as UnmergedEntry, cQ as UnmergedEntryGroup, cR as WhatchangedEntry, cS as WhatchangedOptions, cT as WorktreeAddOptions, cU as WorktreeAddResult, cV as WorktreeEntry, cW as WorktreeListResult, cX as WorktreeMoveOptions, cY as WorktreeMoveResult, cZ as WorktreeNamespace, c_ as WorktreeRemoveOptions, c$ as WorktreeRemoveResult, d0 as WorktreeSide, d1 as add, d2 as archive, d3 as bindBranchNamespace, d4 as bindBundleNamespace, d5 as bindCherryPickNamespace, d6 as bindConfigNamespace, d7 as bindMergeNamespace, d8 as bindNotesNamespace, d9 as bindRebaseNamespace, da as bindRemoteNamespace, db as bindRevertNamespace, dc as bindSparseCheckoutNamespace, dd as bindStashNamespace, de as bindSubmoduleNamespace, df as bindTagNamespace, dg as bindWorktreeNamespace, dh as blame, di as branchCreate, dj as branchDelete, dk as branchList, dl as branchRename, dm as buildGrepMatcher, dn as bundleCreate, dp as bundleListHeads, dq as bundleVerify, dr as catFile, ds as checkout, dt as cherryPickAbort, du as cherryPickContinue, dv as cherryPickRun, dw as cherryPickSkip, dx as classifyUnmerged, dy as clone, dz as commit, dA as configGet, dB as configGetAll, dC as configGetRegexp, dD as configList, dE as configRemoveSection, dF as configRenameSection, dG as configSet, dH as configUnset, dI as configUnsetAll, dJ as conflictsToIndexEntries, dK as createPromisorRemote, dL as describe, dM as diff, dN as diffIndexAgainstTree, dO as diffLines, dP as fetch, dQ as fetchMissing, dR as fsck, dS as grep, dT as groupUnmergedEntries, dU as init, dV as isBinary, dW as log, dX as mergeAbort, dY as mergeContinue, dZ as mergeRun, d_ as mv, d$ as nameRev, e0 as notesAdd, e1 as notesList, e2 as notesRead, e3 as notesRemove, e4 as pull, e5 as push, e6 as rangeDiff, e7 as readFileAt, e8 as rebaseAbort, e9 as rebaseContinue, ea as rebaseRun, eb as rebaseSkip, ec as recordedPaths, ed as reflog, ee as remoteAdd, ef as remoteList, eg as remoteRemove, eh as remoteRename, ei as remoteSetUrl, ej as remoteShow, ek as reset, el as revParse, em as revertAbort, en as revertContinue, eo as revertRun, ep as revertSkip, eq as rm, er as shortlog, es as show, et as sortedRecordedPaths, eu as sparseCheckoutAdd, ev as sparseCheckoutDisable, ew as sparseCheckoutList, ex as sparseCheckoutReapply, ey as sparseCheckoutSet, ez as splitLines, eA as stashApply, eB as stashDrop, eC as stashList, eD as stashPop, eE as stashPush, eF as status, eG as submoduleAdd, eH as submoduleDeinit, eI as submoduleInit, eJ as submoduleList, eK as submoduleSync, eL as submoduleUpdate, eM as tagCreate, eN as tagDelete, eO as tagList, eP as whatchanged, eQ as worktreeAdd, eR as worktreeList, eS as worktreeMove, eT as worktreeRemove } from './chunks/index-Dfh8cvEs.cjs';
|
|
5
|
+
export { A as AddChange, a as AuthorIdentity, B as BisectMidpoint, b as Blob, C as CatFileBatchEntry, c as CatFileBatchOptions, d as Commit, e as CommitData, f as CopyChange, g as CreateCommitInput, h as CreateTagInput, D as DEFAULT_BREAK_SCORE, i as DEFAULT_MERGE_SCORE, j as DEFAULT_RENAME_THRESHOLD, k as DeleteChange, l as DiffChange, m as DiffChangeType, n as DiffTreesInput, o as DiffTreesOptions, E as ExtraHeader, F as FILE_MODE, p as FileMode, q as FlatTree, r as FlatTreeEntry, G as GitIndex, s as GitObject, I as IndexEntryFlags, t as IndexExtension, L as LineKey, M as MAX_COMMIT_MESSAGE_BYTES, u as MAX_FLAT_TREE_ENTRIES, v as MAX_GITATTRIBUTES_BYTES, w as MAX_GITIGNORE_BYTES, x as MAX_GITMODULES_BYTES, y as MAX_HAVES, z as MAX_INDEX_BYTES, H as MAX_PEEL_DEPTH, J as MAX_PUSH_OBJECTS, K as MAX_REFLOG_BYTES, N as MAX_SCORE, O as MAX_SUBMODULE_DEPTH, P as MAX_SYMBOLIC_REF_DEPTH, Q as MAX_WALK_QUEUE_SIZE, R as MAX_WALK_SEEDS, S as MAX_WORKING_TREE_BLOB_BYTES, T as ModifyChange, U as ObjectType, V as ReadObjectOptions, W as RenameChange, X as RenameDetectOptions, Y as ResolveRefOptions, Z as STAGE0_FLAGS, _ as SimilarityScore, $ as StatData, a0 as StatDiffChange, a1 as StatFields, a2 as StatFieldsOptions, a3 as StatTreeDiff, a4 as SubmoduleEntry, a5 as Tag, a6 as TagData, a7 as Tree, a8 as TreeDiff, a9 as TypeChangeChange, aa as UpdateRefOptions, ab as WalkCommitsByDateOptions, ac as WalkCommitsOptions, ad as WalkSubmodulesOptions, ae as WalkTreeEntry, af as WalkTreeOptions, ag as WalkWorkingTreeEntry, ah as WalkWorkingTreeOptions, ai as WhitespaceMode, aj as computeStatFields, ak as deriveWorkingMode, al as detectRenames, am as estimateSimilarity, an as isDirectory, ao as isStatClean, ap as lineKeyIsActive, aq as linesEqualUnder, ar as normalizeFileMode, as as normalizeLine, at as parseBlobContent, au as parseCommitContent, av as parseHeader, aw as parseIdentity, ax as parseObject, ay as parseTagContent, az as parseTreeContent, aA as resolveLineKey, aB as serializeBlobContent, aC as serializeCommitContent, aD as serializeHeader, aE as serializeIdentity, aF as serializeObject, aG as serializeTagContent, aH as serializeTreeContent, aI as skipWorktreeEntry, aJ as sortTreeEntries, aK as toSimilarityPercent, aL as treeEntryCompare, aM as validateFileMode } from './chunks/reflog-entry-Dy-O27Dd.cjs';
|
|
6
|
+
import { F as FilePath } from './chunks/context-CF1YF2S8.cjs';
|
|
7
|
+
export { A as AuthStrategy, C as CommandRunner, a as Compressor, b as ConfigUserIdentity, c as Context, d as CreateContextParts, D as DirEntry, E as EMPTY_TREE_OID, e as EnvReader, f as FileStat, g as FileSystem, H as HashConfig, h as HashService, i as Hasher, j as HookName, k as HookRequest, l as HookResult, m as HookRunner, L as Logger, O as ObjectId, P as ProgressReporter, n as PromisorFetchOutcome, o as PromisorRemote, R as RefName, p as RepositoryConfig, q as RepositoryLayout, S as SHA1_CONFIG, r as SHA256_CONFIG, s as SshChannel, t as SshSpawnRequest, u as SshTransport, Z as ZERO_OID, v as createContext, w as noopLogger, x as wrapLoggerSanitizer } from './chunks/context-CF1YF2S8.cjs';
|
|
8
|
+
export { A as ApplyChangesetOpts, a as ApplyChangesetResult, B as BlobStream, b as BuildIndexFromTreeOpts, c as BuildPackInput, d as BuildPackResult, C as Changeset, e as ChangesetEntry, f as ChangesetStats, g as ConfigEntry, D as DEFAULT_NOTES_REF, E as EnumerateObjectsOptions, h as EnumeratePushObjectsInput, F as FetchPackInput, i as FetchPackResult, H as HashBlobOptions, j as HookInput, I as IniSection, k as IsIgnoredMatch, l as IsIgnoredMatchSource, m as IsIgnoredQuery, L as LoadedNotesTree, M as MAX_SPARSE_PATTERN_FILE_BYTES, n as MaterializeTreeOpts, o as MaterializeTreeResult, p as MergeBaseOptions, P as ParsedConfig, q as PushDefaultMode, S as SignPayloadResult, r as SignRequest, s as StreamBlobOptions, V as ValuelessEntry, W as WorkingTreeComparison, t as WorkingTreeDelta, u as WriteNotesTreeInput, v as appendReflog, w as applyChangeset, x as applyConfigOpInText, y as bisectMidpoint, z as buildIndexFromTree, G as buildPack, J as catFileBatch, K as compareWorkingTreeDelta, N as compareWorkingTreeEntry, O as computeChangeset, Q as createCommit, R as createTag, T as deleteReflog, U as diffTrees, X as enumerateObjects, Y as enumeratePushObjects, Z as enumerateRefs, _ as fetchPack, $ as findFirstValuelessEntry, a0 as flattenTree, a1 as getAllConfigValues, a2 as getConfigValue, a3 as getRepoRoot, a4 as hasObject, a5 as hashBlob, a6 as invalidateConfigCache, a7 as invalidateScopedConfigCache, a8 as isIgnored, a9 as isWorkingTreeDirty, aa as listReflogs, ab as loadNotesTree, ac as loadSparseMatcher, ad as materializeTree, ae as materializeWorktreeFromHead, af as mergeBase, ag as parseIniSections, ah as readBlob, ai as readConfig, aj as readConfigSections, ak as readHeadTree, al as readIndex, am as readObject, an as readReflog, ao as readShallow, ap as readSparsePatternText, aq as readTree, ar as reflogExists, as as removeConfigSection, at as renameConfigSection, au as resolveNotesRef, av as resolveRef, aw as resolveReflogIdentity, ax as resolveSigningSelector, ay as runHook, az as runInformationalHook, aA as setConfigEntry, aB as setConfigEntryInText, aC as setCoreConfigEntryInText, aD as signPayload, aE as sparseCheckoutPath, aF as streamBlob, aG as synthesizeTreeFromIndex, aH as unsetAllConfigEntries, aI as unsetConfigEntry, aJ as updateConfigEntries, aK as updateCoreConfig, aL as updateRef, aM as updateShallow, aN as walkCommits, aO as walkCommitsByDate, aP as walkSubmodules, aQ as walkTree, aR as walkWorkingTree, aS as writeNotesTree, aT as writeObject, aU as writeReflog, aV as writeSparsePatternText, aW as writeTree } from './chunks/index-Dqxddhav.cjs';
|
|
9
|
+
export { H as HttpRequest, a as HttpResponse, b as HttpTransport } from './chunks/http-transport-DirKfK2S.cjs';
|
|
10
|
+
|
|
11
|
+
interface TarOptions {
|
|
12
|
+
/** Prepended to every path; synthesises a top `<prefix>` directory entry. Default: `''`. */
|
|
13
|
+
readonly prefix?: string;
|
|
14
|
+
/** Epoch seconds stamped in every header mtime. Default: `result.commitTime ?? 0`. */
|
|
15
|
+
readonly mtime?: number;
|
|
16
|
+
/** Mode mask applied to regular/exec/dir/gitlink (NOT symlinks). Default: `0o0002`. */
|
|
17
|
+
readonly umask?: number;
|
|
18
|
+
/** User name field value. Default: `'root'`. */
|
|
19
|
+
readonly uname?: string;
|
|
20
|
+
/** Group name field value. Default: `'root'`. */
|
|
21
|
+
readonly gname?: string;
|
|
60
22
|
}
|
|
61
|
-
|
|
62
23
|
/**
|
|
63
|
-
*
|
|
64
|
-
*
|
|
24
|
+
* Convert an `ArchiveResult` to a ustar tar byte stream byte-equal to
|
|
25
|
+
* `git archive --format=tar`.
|
|
65
26
|
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* lock-ordering protocol; in-process readers rely on the
|
|
69
|
-
* emit-before-release ordering to avoid TOCTOU windows.
|
|
27
|
+
* Rendering inputs (prefix, mtime, umask, uname, gname) are caller-supplied;
|
|
28
|
+
* defaults match git's behaviour.
|
|
70
29
|
*/
|
|
71
|
-
|
|
72
|
-
emit(scope: WriteScope): void;
|
|
73
|
-
}
|
|
30
|
+
declare function tarArchive(result: ArchiveResult, opts?: TarOptions): AsyncIterable<Uint8Array>;
|
|
74
31
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
32
|
+
interface ZipDeps {
|
|
33
|
+
/**
|
|
34
|
+
* Raw DEFLATE (RFC 1951) — no zlib header, no adler32. Injected by caller.
|
|
35
|
+
*
|
|
36
|
+
* The callback MUST emit valid RFC-1951 raw DEFLATE that inflates back to
|
|
37
|
+
* `data` byte-for-byte. The framer trusts this contract without verification
|
|
38
|
+
* in order to remain streaming; violating it silently corrupts the zip.
|
|
39
|
+
*/
|
|
40
|
+
readonly deflateRaw: (data: Uint8Array, level?: number) => Promise<Uint8Array>;
|
|
41
|
+
}
|
|
42
|
+
interface ZipOptions {
|
|
43
|
+
/** Prepended to every path; synthesises a top `<prefix>` directory entry. Default: `''`. */
|
|
44
|
+
readonly prefix?: string;
|
|
45
|
+
/** Epoch seconds stamped into every entry. Default: `result.commitTime ?? 0`. */
|
|
46
|
+
readonly mtime?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Minutes added to mtime before computing DOS date/time fields.
|
|
49
|
+
* git uses `localtime` so the DOS breakdown is TZ-dependent; pass the
|
|
50
|
+
* caller's UTC offset to reproduce byte-for-byte. Default: `0` (UTC).
|
|
51
|
+
*/
|
|
52
|
+
readonly tzOffsetMinutes?: number;
|
|
53
|
+
/** Compression level forwarded to deflateRaw. Default: adapter default. */
|
|
54
|
+
readonly level?: number;
|
|
82
55
|
}
|
|
83
56
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
57
|
+
* Convert an `ArchiveResult` to a zip byte stream byte-equal to
|
|
58
|
+
* `git archive --format=zip` (node adapter, run under TZ=UTC with tzOffsetMinutes=0).
|
|
86
59
|
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* not
|
|
60
|
+
* Method-8 byte-identity requires `deflateRaw = NodeCompressor.deflateRaw` at
|
|
61
|
+
* default level (confirmed: 20000×A blob → 37 bytes, matching git exactly).
|
|
62
|
+
* Cross-adapter method-8 bytes are not pinned — only round-trip equivalence.
|
|
63
|
+
*
|
|
64
|
+
* Rendering inputs (prefix, mtime, tzOffsetMinutes, level) are caller-supplied;
|
|
65
|
+
* defaults match git's UTC behaviour.
|
|
90
66
|
*/
|
|
91
|
-
|
|
92
|
-
subscribe(listener: (scope: WriteScope) => void): Disposable;
|
|
93
|
-
}
|
|
67
|
+
declare function zipArchive(result: ArchiveResult, deps: ZipDeps, opts?: ZipOptions): AsyncIterable<Uint8Array>;
|
|
94
68
|
|
|
95
69
|
/**
|
|
96
70
|
* Emits a deprecation warning at most once per `callsite`. The set-based
|
|
@@ -106,27 +80,6 @@ interface WriteEventStream {
|
|
|
106
80
|
*/
|
|
107
81
|
declare const warnDeprecated: (callsite: string, message: string) => void;
|
|
108
82
|
|
|
109
|
-
interface IndexSnapshotDeps {
|
|
110
|
-
readonly ctx: Context;
|
|
111
|
-
readonly indexResolver: IndexResolver;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Lazily evaluates `.git/index` via `IndexResolver`. The parsed `GitIndex`
|
|
115
|
-
* is captured on the first iteration and reused across subsequent
|
|
116
|
-
* iterations of the same handle (design §8.0 iteration stability):
|
|
117
|
-
*
|
|
118
|
-
* - First `entries()` call → resolver.resolve(ctx) → captured reference
|
|
119
|
-
* - All subsequent `entries()` calls → stream from captured reference,
|
|
120
|
-
* bypassing the resolver entirely; `emit('index')` events on the bus
|
|
121
|
-
* never disturb an in-flight iteration.
|
|
122
|
-
* - A fresh `repo.snapshot.index()` returns a new handle whose own first
|
|
123
|
-
* iteration sees the resolver's post-invalidation state.
|
|
124
|
-
*
|
|
125
|
-
* `bypassCache` forwards to the resolver only for the *first* resolve on
|
|
126
|
-
* this handle; once captured, subsequent calls use the captured reference.
|
|
127
|
-
*/
|
|
128
|
-
declare const createIndexSnapshot: (deps: IndexSnapshotDeps) => Snapshot<IndexEntry>;
|
|
129
|
-
|
|
130
83
|
type SnapshotMap = {
|
|
131
84
|
readonly [k: string]: Snapshot<SnapshotEntry>;
|
|
132
85
|
};
|
|
@@ -154,7 +107,7 @@ declare const innerJoin: <S extends SnapshotMap>(sources: S, opts?: JoinOptions)
|
|
|
154
107
|
* Unwrap a `Promise<T | null>` from a compound-state snapshot factory
|
|
155
108
|
* (`mergeHead`, `cherryPickHead`, `revertHead`, `fetchHead`, `stashEntry`).
|
|
156
109
|
*
|
|
157
|
-
* Calls that require the state to exist (e.g. `
|
|
110
|
+
* Calls that require the state to exist (e.g. `mergeAbort` when no merge
|
|
158
111
|
* is in progress) use this helper to fail loudly with a `SNAPSHOT_REQUIRED`
|
|
159
112
|
* code carrying the caller's reason. Calls that tolerate absence keep the
|
|
160
113
|
* null-check in their own flow.
|
|
@@ -170,22 +123,6 @@ declare const innerJoin: <S extends SnapshotMap>(sources: S, opts?: JoinOptions)
|
|
|
170
123
|
*/
|
|
171
124
|
declare const requireSnapshot: <T>(promise: Promise<T | null>, reason: string) => Promise<T>;
|
|
172
125
|
|
|
173
|
-
interface TreeSnapshotDeps {
|
|
174
|
-
readonly ctx: Context;
|
|
175
|
-
readonly treeResolver: TreeResolver;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Lazily evaluates a tree by its oid via `TreeResolver`. The root tree is
|
|
179
|
-
* resolved on the first iteration and reused across subsequent iterations
|
|
180
|
-
* for stability. Trees are content-addressed, so the captured reference
|
|
181
|
-
* is independent of any external cache invalidation.
|
|
182
|
-
*
|
|
183
|
-
* Only leaf entries (files, symlinks, gitlinks/submodules) are yielded.
|
|
184
|
-
* Directories are descended into but never yielded as their own row —
|
|
185
|
-
* `kind` is therefore narrowed to `'file' | 'symlink' | 'submodule'`.
|
|
186
|
-
*/
|
|
187
|
-
declare const createTreeSnapshot: (deps: TreeSnapshotDeps, treeId: ObjectId) => Snapshot<TreeEntry>;
|
|
188
|
-
|
|
189
126
|
interface DirGroup<R> {
|
|
190
127
|
readonly path: FilePath;
|
|
191
128
|
readonly rows: ReadonlyArray<R>;
|
|
@@ -289,5 +226,5 @@ type VerifyOutput<R> = R | (R & RacedRow);
|
|
|
289
226
|
*/
|
|
290
227
|
declare const verifyWorkdir: <R extends SlotKeyedRow>(opts?: VerifyOptions) => (source: AsyncIterable<R>) => AsyncIterable<VerifyOutput<R>>;
|
|
291
228
|
|
|
292
|
-
export {
|
|
293
|
-
export type { DirGroup,
|
|
229
|
+
export { ArchiveResult, FilePath, InnerJoinRow, OuterJoinRow, Snapshot, SnapshotEntry, count, first, groupByDir, hashSlot, hashWorkdir, innerJoin, join, loadBlob, requireSnapshot, tarArchive, toArray, verifyWorkdir, warnDeprecated, zipArchive };
|
|
230
|
+
export type { DirGroup, HashSlotOptions, JoinOptions, LoadBlobOptions, TarOptions, TerminalOptions, VerifyOptions, VerifyRaceAction, ZipDeps, ZipOptions };
|