@procedures/git 0.52.0 → 0.52.2
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/CHANGELOG.md +25 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/procedures/git/files.d.ts +61 -0
- package/dist/procedures/git/files.d.ts.map +1 -0
- package/dist/procedures/git/files.js +229 -0
- package/dist/procedures/git/files.js.map +1 -0
- package/package.json +4 -4
- package/src/index.ts +1 -0
- package/src/procedures/git/files.ts +236 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @procedures/git
|
|
2
2
|
|
|
3
|
+
## 0.52.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @procedures/client@0.52.2
|
|
8
|
+
- @procedures/fs@0.52.2
|
|
9
|
+
- @procedures/shell@0.52.2
|
|
10
|
+
|
|
11
|
+
## 0.52.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- d0f3362: The package reads the state of a repository from its files, with no git process (roadmap CLI-123). A list of many working trees with `git` starts one or more processes for each tree. These functions read the same state from the git folder:
|
|
16
|
+
|
|
17
|
+
- `readWorktrees(repo)` gives the working trees as `git worktree list` gives them, with `prunable` and `locked`.
|
|
18
|
+
- `readHead(tree)` gives the branch and its commit, or a detached commit, of a working tree.
|
|
19
|
+
- `readRefs(repo)` gives the loose refs and the lines of `packed-refs`, the remote refs included.
|
|
20
|
+
- `onRemote(repo, sha)` gives `true` when a remote ref points at the commit. Else it gives `"unknown"`.
|
|
21
|
+
- `gitDirsOf(tree)` gives the git folder of a tree and the common folder of its repository.
|
|
22
|
+
|
|
23
|
+
These functions read no objects. A repository with the `reftable` format of refs gets an error.
|
|
24
|
+
- @procedures/client@0.52.1
|
|
25
|
+
- @procedures/fs@0.52.1
|
|
26
|
+
- @procedures/shell@0.52.1
|
|
27
|
+
|
|
3
28
|
## 0.52.0
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|