aboutsummaryrefslogtreecommitdiff
path: root/STRUCTURE
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-21 12:43:38 +0800
committerGravatar Runxi Yu2026-02-21 12:43:38 +0800
commit1e05102e8eba002c4485d1232b99753e65b49a31 (patch)
tree5f405b4e8e00ec9839739e8780272b64ee8fa216 /STRUCTURE
parent*: Use testgit.NewRepo (diff)
signatureNo signature
Add a STRUCTURE that describes what each package is for v0.1.11
Diffstat (limited to 'STRUCTURE')
-rw-r--r--STRUCTURE20
1 files changed, 20 insertions, 0 deletions
diff --git a/STRUCTURE b/STRUCTURE
new file mode 100644
index 00000000..ab848956
--- /dev/null
+++ b/STRUCTURE
@@ -0,0 +1,20 @@
+.
+├── config Configuration parsing
+├── internal Private packages and helpers
+│   ├── cache
+│   │   └── lru Size-cost bounded LRU cache (e.g., for delta base caching)
+│   └── testgit Helpers for integration tests with upstream git(1)
+├── object Parse/serialize objects such as blob, tree, commit, tag
+├── objectheader Parse/serialize object headers ("type size\0")
+├── objectid Utilities aroud object IDs and hash algorithms
+├── objectstore Interfaces for object storage backends
+│   ├── chain Wrapper object storage backend to query a chain of backends
+│   ├── loose Loose object backend (objects/XX/YYYYY..)
+│   └── packed Packfiles reading, and associated indexes
+├── objecttype Object type constants and names
+├── ref General, detached, and symbolic references
+└── refstore Interfaces for reference storage backends
+ ├── chain Wrapper reference storage backend to query a chain of backends
+ ├── loose Loose ref backend (refs/... as a directory tree)
+ ├── packed Packed refs backend
+ └── reftable Experimental reftable backend