git-dlp 0.2.0 → 0.2.1

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 CHANGED
@@ -1,22 +1,22 @@
1
- # <img src="https://nikelborm.github.io/git-dl/logo.png" align="right" width="40px" height="40px"/> Get git repo contents (git-dl) :lizard:
2
-
3
- [![Open in VS Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20VS%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc)](https://github.dev/nikelborm/git-dl)
4
- [![NPM package version](https://badge.fury.io/js/git-dl.svg)](https://www.npmjs.com/package/git-dl)
5
- [![NPM downloads](https://img.shields.io/npm/dm/git-dl.svg?style=flat)](https://npmjs.org/package/git-dl)
6
- [![NPM Last Update](https://img.shields.io/npm/last-update/git-dl)](https://npmjs.org/package/git-dl)
7
- [![package.json Dependents count](https://badgen.net/npm/dependents/git-dl)](https://www.npmjs.com/package/git-dl?activeTab=dependents)
8
- [![JSR package version](https://jsr.io/badges/@evadev/git-dl)](https://jsr.io/@evadev/git-dl)
9
- [![JSR package Score](https://jsr.io/badges/@evadev/git-dl/score)](https://jsr.io/@evadev/git-dl)
1
+ # <img src="https://nikelborm.github.io/git-dlp/logo.png" align="right" width="40px" height="40px"/> git-dlp, like yt-dlp, but for git :lizard:
2
+
3
+ [![Open in VS Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20VS%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc)](https://github.dev/nikelborm/git-dlp)
4
+ [![NPM package version](https://badge.fury.io/js/git-dlp.svg)](https://www.npmjs.com/package/git-dlp)
5
+ [![NPM downloads](https://img.shields.io/npm/dm/git-dlp.svg?style=flat)](https://npmjs.org/package/git-dlp)
6
+ [![NPM Last Update](https://img.shields.io/npm/last-update/git-dlp)](https://npmjs.org/package/git-dlp)
7
+ [![package.json Dependents count](https://badgen.net/npm/dependents/git-dlp)](https://www.npmjs.com/package/git-dlp?activeTab=dependents)
8
+ [![JSR package version](https://jsr.io/badges/@evadev/git-dlp)](https://jsr.io/@evadev/git-dlp)
9
+ [![JSR package Score](https://jsr.io/badges/@evadev/git-dlp/score)](https://jsr.io/@evadev/git-dlp)
10
10
  [![JSR package owner](https://jsr.io/badges/@evadev)](https://jsr.io/@evadev)
11
- [![GitHub commits per month](https://img.shields.io/github/commit-activity/m/nikelborm/git-dl)](https://github.com/nikelborm/git-dl/pulse)
12
- [![GitHub Total commits Count](https://img.shields.io/github/commit-activity/t/nikelborm/git-dl)](https://github.com/nikelborm/git-dl/graphs/commit-activity)
13
- [![NPM License](https://img.shields.io/npm/l/git-dl)](https://github.com/nikelborm/git-dl?tab=MIT-1-ov-file)
14
- [![Coveralls Coverage Percentage](https://coveralls.io/repos/github/nikelborm/git-dl/badge.svg?branch=main&rand=9148876)](https://coveralls.io/github/nikelborm/git-dl?branch=main)
15
- [![CodeFactor Code quality Grade](https://img.shields.io/codefactor/grade/github/nikelborm/git-dl?label=codefactor)](https://www.codefactor.io/repository/github/nikelborm/git-dl)
16
- [![Code Climate Technical Debt](https://img.shields.io/codeclimate/tech-debt/nikelborm/git-dl)](https://codeclimate.com/github/nikelborm/git-dl/issues)
17
- [![Code Climate Issues](https://img.shields.io/codeclimate/issues/nikelborm/git-dl)](https://codeclimate.com/github/nikelborm/git-dl/issues)
18
- [![GitHub Tests Workflow status](https://github.com/nikelborm/git-dl/actions/workflows/test.yml/badge.svg)](https://github.com/nikelborm/git-dl/actions/workflows/test.yml)
19
- [![GitHub Release Workflow status](https://github.com/nikelborm/git-dl/actions/workflows/release.yml/badge.svg)](https://github.com/nikelborm/git-dl/actions/workflows/release.yml)
11
+ [![GitHub commits per month](https://img.shields.io/github/commit-activity/m/nikelborm/git-dlp)](https://github.com/nikelborm/git-dlp/pulse)
12
+ [![GitHub Total commits Count](https://img.shields.io/github/commit-activity/t/nikelborm/git-dlp)](https://github.com/nikelborm/git-dlp/graphs/commit-activity)
13
+ [![NPM License](https://img.shields.io/npm/l/git-dlp)](https://github.com/nikelborm/git-dlp?tab=MIT-1-ov-file)
14
+ [![Coveralls Coverage Percentage](https://coveralls.io/repos/github/nikelborm/git-dlp/badge.svg?branch=main&rand=9148876)](https://coveralls.io/github/nikelborm/git-dlp?branch=main)
15
+ [![CodeFactor Code quality Grade](https://img.shields.io/codefactor/grade/github/nikelborm/git-dlp?label=codefactor)](https://www.codefactor.io/repository/github/nikelborm/git-dlp)
16
+ [![Code Climate Technical Debt](https://img.shields.io/codeclimate/tech-debt/nikelborm/git-dlp)](https://codeclimate.com/github/nikelborm/git-dlp/issues)
17
+ [![Code Climate Issues](https://img.shields.io/codeclimate/issues/nikelborm/git-dlp)](https://codeclimate.com/github/nikelborm/git-dlp/issues)
18
+ [![GitHub Tests Workflow status](https://github.com/nikelborm/git-dlp/actions/workflows/test.yml/badge.svg)](https://github.com/nikelborm/git-dlp/actions/workflows/test.yml)
19
+ [![GitHub Release Workflow status](https://github.com/nikelborm/git-dlp/actions/workflows/release.yml/badge.svg)](https://github.com/nikelborm/git-dlp/actions/workflows/release.yml)
20
20
  [![Sonar Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nikelborm_fetch-github-folder&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=nikelborm_fetch-github-folder)
21
21
  [![Sonar Bugs Count](https://sonarcloud.io/api/project_badges/measure?project=nikelborm_fetch-github-folder&metric=bugs)](https://sonarcloud.io/summary/new_code?id=nikelborm_fetch-github-folder)
22
22
  [![Sonar Code Smells Count](https://sonarcloud.io/api/project_badges/measure?project=nikelborm_fetch-github-folder&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=nikelborm_fetch-github-folder)
@@ -30,11 +30,11 @@
30
30
  ![OSS Lifecycle status](https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fnikelborm%2Ffetch-github-folder%2Fblob%2Fmain%2FOSSMETADATA)
31
31
 
32
32
  <!-- Commented because there's some bug in effect library or in bundlephobia that prevents proper rendering of this badge -->
33
- <!-- [![npm minzipped bundle size](https://img.shields.io/bundlephobia/minzip/git-dl)](https://bundlephobia.com/package/git-dl) -->
34
- <!-- [![package.json Dependencies count](https://badgen.net/bundlephobia/dependency-count/git-dl)](https://www.npmjs.com/package/git-dl?activeTab=dependencies) -->
33
+ <!-- [![npm minzipped bundle size](https://img.shields.io/bundlephobia/minzip/git-dlp)](https://bundlephobia.com/package/git-dlp) -->
34
+ <!-- [![package.json Dependencies count](https://badgen.net/bundlephobia/dependency-count/git-dlp)](https://www.npmjs.com/package/git-dlp?activeTab=dependencies) -->
35
35
 
36
36
  <!-- commented because it seems that npms.io was acquired by somebody and is slowly dying -->
37
- <!-- [![npms.io](https://img.shields.io/npms-io/final-score/git-dl)](update_link_later) -->
37
+ <!-- [![npms.io](https://img.shields.io/npms-io/final-score/git-dlp)](update_link_later) -->
38
38
 
39
39
  <!-- commented because I haven't started following it yet -->
40
40
  <!-- [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) -->
@@ -64,16 +64,16 @@ CLIs written in JS run faster, I highly recommend adding this line to your `.bas
64
64
  export NODE_COMPILE_CACHE=~/.cache/nodejs-compile-cache
65
65
  ```
66
66
 
67
- ### Install package with CLI and functions from [default NPM registry](https://www.npmjs.com/package/git-dl)
67
+ ### Install package with CLI and functions from [default NPM registry](https://www.npmjs.com/package/git-dlp)
68
68
 
69
69
  ```bash
70
- npm i git-dl
70
+ npm i git-dlp
71
71
  ```
72
72
 
73
73
  <details>
74
74
  <summary>
75
75
 
76
- ### Install package with only functions from [JSR](https://jsr.io/@evadev/git-dl)
76
+ ### Install package with only functions from [JSR](https://jsr.io/@evadev/git-dlp)
77
77
 
78
78
  </summary>
79
79
 
@@ -82,14 +82,14 @@ only script library with functions that will allow you to fetch github folder
82
82
  from other scripts.
83
83
 
84
84
  ```bash
85
- npx jsr add @evadev/git-dl
85
+ npx jsr add @evadev/git-dlp
86
86
  ```
87
87
 
88
88
  </details>
89
89
  <details>
90
90
  <summary>
91
91
 
92
- ### Install package with CLI and functions from [GitHub's NPM registry](https://github.com/nikelborm/git-dl/pkgs/npm/git-dl)
92
+ ### Install package with CLI and functions from [GitHub's NPM registry](https://github.com/nikelborm/git-dlp/pkgs/npm/git-dlp)
93
93
 
94
94
  </summary>
95
95
 
@@ -107,19 +107,19 @@ npx jsr add @evadev/git-dl
107
107
  3. Install the package by executing:
108
108
 
109
109
  ```bash
110
- npm i @evadev/git-dl
110
+ npm i @evadev/git-dlp
111
111
  ```
112
112
 
113
113
  </details>
114
114
  <details>
115
115
  <summary>
116
116
 
117
- ### Install package with CLI and functions from [Github Releases](https://github.com/nikelborm/git-dl/releases)
117
+ ### Install package with CLI and functions from [Github Releases](https://github.com/nikelborm/git-dlp/releases)
118
118
 
119
119
  </summary>
120
120
 
121
121
  ```bash
122
- PACKAGE=git-dl
122
+ PACKAGE=git-dlp
123
123
 
124
124
  # Either set specific tag
125
125
  TAG=0.1.28 && npm i https://github.com/nikelborm/$PACKAGE/releases/download/$TAG/$PACKAGE.tgz
@@ -131,13 +131,13 @@ npm i https://github.com/nikelborm/$PACKAGE/releases/latest/download/$PACKAGE.tg
131
131
  <details open>
132
132
  <summary>
133
133
 
134
- ### Install only the CLI directly into the system from [Github Releases](https://github.com/nikelborm/git-dl/releases)
134
+ ### Install only the CLI directly into the system from [Github Releases](https://github.com/nikelborm/git-dlp/releases)
135
135
 
136
136
  </summary>
137
137
 
138
138
  ```bash
139
139
  set -euo pipefail
140
- PACKAGE=git-dl
140
+ PACKAGE=git-dlp
141
141
 
142
142
  path_to_the_script=/usr/bin/$PACKAGE
143
143
 
@@ -158,8 +158,8 @@ sudo chmod +x $path_to_the_script
158
158
  </summary>
159
159
 
160
160
  ```bash
161
- git clone -b main git@github.com:nikelborm/git-dl.git
162
- cd git-dl
161
+ git clone -b main git@github.com:nikelborm/git-dlp.git
162
+ cd git-dlp
163
163
  npm install
164
164
  cp template.env .env
165
165
  read -sp 'Enter github access token: ' gh_token; echo;
@@ -184,8 +184,8 @@ import {
184
184
  repoNameCLIOptionBackedByEnv,
185
185
  repoOwnerCLIOptionBackedByEnv,
186
186
  // etc...
187
- } from 'git-dl';
188
- // or '@evadev/git-dl' for non-default installation methods
187
+ } from 'git-dlp';
188
+ // or '@evadev/git-dlp' for non-default installation methods
189
189
  ```
190
190
 
191
191
  ### Execution of CLI installed with NPM
@@ -194,7 +194,7 @@ The **easiest way** to execute the CLI (preliminary installation is not required
194
194
  like this:
195
195
 
196
196
  ```bash
197
- npx git-dl --repoOwner apache --repoName superset
197
+ npx git-dlp --repoOwner apache --repoName superset
198
198
  ```
199
199
 
200
200
  Also there's a shorter form available (preliminary installation is required):
@@ -206,7 +206,7 @@ npx gdl --repoOwner apache --repoName superset
206
206
  <details>
207
207
  <summary>
208
208
 
209
- ### Non-interactive CLI execution on the fly from [Github Releases](https://github.com/nikelborm/git-dl/releases)
209
+ ### Non-interactive CLI execution on the fly from [Github Releases](https://github.com/nikelborm/git-dlp/releases)
210
210
 
211
211
  </summary>
212
212
 
@@ -227,7 +227,7 @@ curl -sL https://github.com/nikelborm/$PACKAGE/releases/latest/download/$PACKAGE
227
227
  <details>
228
228
  <summary>
229
229
 
230
- ### Interactive CLI execution from [Github Releases](https://github.com/nikelborm/git-dl/releases)
230
+ ### Interactive CLI execution from [Github Releases](https://github.com/nikelborm/git-dlp/releases)
231
231
 
232
232
  </summary>
233
233
 
@@ -257,7 +257,7 @@ rm $tmp_js
257
257
  </summary>
258
258
 
259
259
  ```bash
260
- git-dl --repoOwner apache --repoName superset
260
+ git-dlp --repoOwner apache --repoName superset
261
261
  ```
262
262
 
263
263
  </details>
@@ -40,4 +40,4 @@ pipe(process.argv, cli, Effect.withSpan('cli', {
40
40
  console.error(prettyPrint(e));
41
41
  return Effect.fail(e);
42
42
  }), Effect.provide(AppLayer), NodeRuntime.runMain({ disableErrorReporting: true }));
43
- //# sourceMappingURL=git-dl.js.map
43
+ //# sourceMappingUR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AAG,CAAC,IAAI;IACd,OAAO,EAAE,GAAG,CAAC,OAAO;IACpB,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC;CAC3C,CAAC,CAAA;AAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAC7B,cAAc,CAAC,KAAK,EACpB,QAAQ,CAAC,KAAK,EACd,YAAY,CAAC,KAAK,EAClB,SAAS,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EACrC,YAAY,CAAC;AACX,gDAAgD;CACjD,CAAC,CACH,CAAA;AAED,IAAI,CACF,OAAO,CAAC,IAAI,EACZ,GAAG,EACH,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE;IACrB,UAAU,EAAE;QACV,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,OAAO,EAAE,GAAG,CAAC,OAAO;KACrB;CACF,CAAC,EACF,MAAM,CAAC,OAAO,EACd,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;IAClB,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;IAE7B,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACvB,CAAC,CAAC,EACF,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EACxB,WAAW,CAAC,OAAO,CAAC,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC,CACrD,CAAA"}
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "git-dl",
2
+ "name": "git-dlp",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Download any directory at any depth from any repo on GitHub on any git ref",
6
6
  "devDependencies": {
7
7
  "@effect/language-service": "catalog:",
@@ -37,7 +37,7 @@
37
37
  "tar-fs": "catalog:",
38
38
  "tsafe": "catalog:"
39
39
  },
40
- "homepage": "https://github.com/nikelborm/effect-garden/tree/main/packages/git-dl#readme",
40
+ "homepage": "https://github.com/nikelborm/effect-garden/tree/main/packages/git-dlp#readme",
41
41
  "bugs": {
42
42
  "url": "https://github.com/nikelborm/effect-garden/issues",
43
43
  "email": "evadev@duck.com"
@@ -59,7 +59,7 @@
59
59
  "repository": {
60
60
  "type": "git",
61
61
  "url": "git+ssh://git@github.com/nikelborm/effect-garden.git",
62
- "directory": "packages/git-dl"
62
+ "directory": "packages/git-dlp"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "./scripts/build.sh",
@@ -68,7 +68,7 @@
68
68
  "docs": "./scripts/generate_docs.sh",
69
69
  "print-important-ts-files": "find . -type f -name '*.ts' |grep -vE '^./(node_modules|tmp|dist|(vite\\.config|.*\\.spec|scratchpad)\\.ts)'",
70
70
  "scratchpad": "node --use-strict --env-file=.env ./scratchpad.ts",
71
- "start": "node --env-file=.env ./git-dl.ts",
71
+ "start": "node --env-file=.env ./git-dlp.ts",
72
72
  "test": "vitest --typecheck --watch",
73
73
  "test-jsr": "tspc && jsr publish --dry-run",
74
74
  "test-once": "vitest --run",
@@ -113,14 +113,15 @@
113
113
  "types": "./dist-types/src/*.d.ts",
114
114
  "default": "./dist/src/*.js"
115
115
  },
116
+ "./internal/*": null,
116
117
  "./package.json": "./package.json"
117
118
  },
118
119
  "main": "./dist/index.js",
119
120
  "module": "./dist/index.js",
120
121
  "types": "./dist-types/index.d.ts",
121
122
  "bin": {
122
- "gdl": "dist/git-dl.js",
123
- "git-dl": "dist/git-dl.js"
123
+ "gdl": "dist/git-dlp.js",
124
+ "git-dlp": "dist/git-dlp.js"
124
125
  },
125
126
  "files": [
126
127
  "dist",
@@ -107,7 +107,7 @@ export const repoOwnerCLIOptionBackedByEnv = EFunction.pipe(CLIOptions.text(`rep
107
107
  *
108
108
  * Examples:
109
109
  * 1. `superset`
110
- * 2. `git-dl`
110
+ * 2. `git-dlp`
111
111
  *
112
112
  * Can be passed in two ways:
113
113
  * 1. As CLI option `gdl --repoName superset`
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=git-dlp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-dlp.d.ts","sourceRoot":"","sources":["../git-dlp.ts"],"names":[],"mappings":""}
@@ -43,7 +43,7 @@ export declare const repoOwnerCLIOptionBackedByEnv: CLIOptions.Options<string>;
43
43
  *
44
44
  * Examples:
45
45
  * 1. `superset`
46
- * 2. `git-dl`
46
+ * 2. `git-dlp`
47
47
  *
48
48
  * Can be passed in two ways:
49
49
  * 1. As CLI option `gdl --repoName superset`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git-dlp",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Download any directory at any depth from any repo on GitHub on any git ref",
6
6
  "devDependencies": {
7
7
  "@effect/language-service": "^0.86.2",
@@ -37,7 +37,7 @@
37
37
  "tar-fs": "^3.0.8",
38
38
  "tsafe": "^1.8.5"
39
39
  },
40
- "homepage": "https://github.com/nikelborm/effect-garden/tree/main/packages/git-dl#readme",
40
+ "homepage": "https://github.com/nikelborm/effect-garden/tree/main/packages/git-dlp#readme",
41
41
  "bugs": {
42
42
  "url": "https://github.com/nikelborm/effect-garden/issues",
43
43
  "email": "evadev@duck.com"
@@ -59,7 +59,7 @@
59
59
  "repository": {
60
60
  "type": "git",
61
61
  "url": "git+ssh://git@github.com/nikelborm/effect-garden.git",
62
- "directory": "packages/git-dl"
62
+ "directory": "packages/git-dlp"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "./scripts/build.sh",
@@ -68,7 +68,7 @@
68
68
  "docs": "./scripts/generate_docs.sh",
69
69
  "print-important-ts-files": "find . -type f -name '*.ts' |grep -vE '^./(node_modules|tmp|dist|(vite\\.config|.*\\.spec|scratchpad)\\.ts)'",
70
70
  "scratchpad": "node --use-strict --env-file=.env ./scratchpad.ts",
71
- "start": "node --env-file=.env ./git-dl.ts",
71
+ "start": "node --env-file=.env ./git-dlp.ts",
72
72
  "test": "vitest --typecheck --watch",
73
73
  "test-jsr": "tspc && jsr publish --dry-run",
74
74
  "test-once": "vitest --run",
@@ -120,8 +120,8 @@
120
120
  "module": "./dist/index.js",
121
121
  "types": "./dist-types/index.d.ts",
122
122
  "bin": {
123
- "gdl": "dist/git-dl.js",
124
- "git-dl": "dist/git-dl.js"
123
+ "gdl": "dist/git-dlp.js",
124
+ "git-dlp": "dist/git-dlp.js"
125
125
  },
126
126
  "files": [
127
127
  "dist",
@@ -175,7 +175,7 @@ export const repoOwnerCLIOptionBackedByEnv: CLIOptions.Options<string> =
175
175
  *
176
176
  * Examples:
177
177
  * 1. `superset`
178
- * 2. `git-dl`
178
+ * 2. `git-dlp`
179
179
  *
180
180
  * Can be passed in two ways:
181
181
  * 1. As CLI option `gdl --repoName superset`
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-dl.js","sourceRoot":"","sources":["../git-dl.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,WAAW,MAAM,0BAA0B,CAAA;AACvD,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAA;AACtE,OAAO,KAAK,QAAQ,MAAM,gCAAgC,CAAA;AAC1D,OAAO,KAAK,WAAW,MAAM,mCAAmC,CAAA;AAChE,OAAO,KAAK,YAAY,MAAM,oCAAoC,CAAA;AAClE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAErC,OAAO,GAAG,MAAM,gBAAgB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,0BAA0B,EAC1B,sCAAsC,EACt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AAI,CAAC,CAAC,CAAC,CAAA;AACvB,CAAC,CAAC,EACF,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EACxB,WAAW,CAAC,OAAO,CAAC,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC,CACrD,CAAA"}
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
3
- //# sourceMappingURL=git-dl.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-dl.d.ts","sourceRoot":"","sources":["../git-dl.ts"],"names":[],"mappings":""}