es-git 0.5.0-next.172 → 0.5.0-next.173
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/index.d.ts +17 -3
- package/package.json +11 -11
package/index.d.ts
CHANGED
|
@@ -2839,6 +2839,7 @@ export declare class Repository {
|
|
|
2839
2839
|
* Apply a Diff to the given repo, making changes directly in the working directory, the index, or both.
|
|
2840
2840
|
*
|
|
2841
2841
|
* @category Repository/Methods
|
|
2842
|
+
* @signature
|
|
2842
2843
|
* ```ts
|
|
2843
2844
|
* class Repository {
|
|
2844
2845
|
* apply(diff: Diff, location: ApplyLocation, options?: ApplyOptions | null | undefined): void;
|
|
@@ -2875,7 +2876,7 @@ export declare class Repository {
|
|
|
2875
2876
|
/**
|
|
2876
2877
|
* Get the value of a git attribute for a path.
|
|
2877
2878
|
*
|
|
2878
|
-
* @
|
|
2879
|
+
* @category Repository/Methods
|
|
2879
2880
|
* @signature
|
|
2880
2881
|
* ```ts
|
|
2881
2882
|
* class Repository {
|
|
@@ -3099,7 +3100,7 @@ export declare class Repository {
|
|
|
3099
3100
|
*/
|
|
3100
3101
|
cherrypick(commit: Commit, options?: CherrypickOptions | undefined | null): void
|
|
3101
3102
|
/**
|
|
3102
|
-
* Applies a cherrypick of `
|
|
3103
|
+
* Applies a cherrypick of `cherrypickCommit` against `ourCommit` and returns the resulting Index,
|
|
3103
3104
|
* without modifying the working directory or repository state.
|
|
3104
3105
|
* This method does not write any changes to disk or update HEAD.
|
|
3105
3106
|
* it is useful for computing what the cherrypick result would look like without actually applying it.
|
|
@@ -4800,6 +4801,19 @@ export declare class Repository {
|
|
|
4800
4801
|
* @returns The submodule.
|
|
4801
4802
|
*/
|
|
4802
4803
|
submodule(url: string, path: string, useGitlink?: boolean | undefined | null): Submodule
|
|
4804
|
+
/**
|
|
4805
|
+
* Load all submodules for this repository and return them.
|
|
4806
|
+
*
|
|
4807
|
+
* @category Repository/Methods
|
|
4808
|
+
* @signature
|
|
4809
|
+
* ```ts
|
|
4810
|
+
* class Submodule {
|
|
4811
|
+
* submodules(): Submodule[];
|
|
4812
|
+
* }
|
|
4813
|
+
* ```
|
|
4814
|
+
*
|
|
4815
|
+
* @returns for this repository.
|
|
4816
|
+
*/
|
|
4803
4817
|
submodules(): Array<Submodule>
|
|
4804
4818
|
/**
|
|
4805
4819
|
* Lookup submodule information by name or path.
|
|
@@ -8948,7 +8962,7 @@ export interface SubmoduleUpdateOptions {
|
|
|
8948
8962
|
export declare function traceClear(): void
|
|
8949
8963
|
|
|
8950
8964
|
/**
|
|
8951
|
-
* Available tracing levels.
|
|
8965
|
+
* Available tracing levels. When tracing is set to a particular level,
|
|
8952
8966
|
* callers will be provided tracing at the given level and all lower levels.
|
|
8953
8967
|
*/
|
|
8954
8968
|
export type TraceLevel = 'None'|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-git",
|
|
3
|
-
"version": "0.5.0-next.
|
|
3
|
+
"version": "0.5.0-next.173+b2dfe8d",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"vitest": "^3.0.5"
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"es-git-darwin-x64": "0.5.0-next.
|
|
58
|
-
"es-git-darwin-arm64": "0.5.0-next.
|
|
59
|
-
"es-git-win32-x64-msvc": "0.5.0-next.
|
|
60
|
-
"es-git-win32-arm64-msvc": "0.5.0-next.
|
|
61
|
-
"es-git-linux-x64-gnu": "0.5.0-next.
|
|
62
|
-
"es-git-linux-x64-musl": "0.5.0-next.
|
|
63
|
-
"es-git-android-arm64": "0.5.0-next.
|
|
64
|
-
"es-git-linux-arm64-gnu": "0.5.0-next.
|
|
65
|
-
"es-git-linux-arm64-musl": "0.5.0-next.
|
|
66
|
-
"es-git-android-arm-eabi": "0.5.0-next.
|
|
57
|
+
"es-git-darwin-x64": "0.5.0-next.173+b2dfe8d",
|
|
58
|
+
"es-git-darwin-arm64": "0.5.0-next.173+b2dfe8d",
|
|
59
|
+
"es-git-win32-x64-msvc": "0.5.0-next.173+b2dfe8d",
|
|
60
|
+
"es-git-win32-arm64-msvc": "0.5.0-next.173+b2dfe8d",
|
|
61
|
+
"es-git-linux-x64-gnu": "0.5.0-next.173+b2dfe8d",
|
|
62
|
+
"es-git-linux-x64-musl": "0.5.0-next.173+b2dfe8d",
|
|
63
|
+
"es-git-android-arm64": "0.5.0-next.173+b2dfe8d",
|
|
64
|
+
"es-git-linux-arm64-gnu": "0.5.0-next.173+b2dfe8d",
|
|
65
|
+
"es-git-linux-arm64-musl": "0.5.0-next.173+b2dfe8d",
|
|
66
|
+
"es-git-android-arm-eabi": "0.5.0-next.173+b2dfe8d"
|
|
67
67
|
}
|
|
68
68
|
}
|