diff options
| author | 2026-03-28 16:46:30 +0000 | |
|---|---|---|
| committer | 2026-03-28 16:46:30 +0000 | |
| commit | f87db5f65f61709a44e111fc47bfbb0865b2067b (patch) | |
| tree | d2da282f2df4596784692bf47b1f1efd8c4e2714 /object/fetch/treefs.go | |
| parent | object/{blob,commit,tag}: Update docs (diff) | |
| signature | No signature | |
object/fetch: Update docs and rename resolver->fetcher
Diffstat (limited to 'object/fetch/treefs.go')
| -rw-r--r-- | object/fetch/treefs.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/object/fetch/treefs.go b/object/fetch/treefs.go index 06b6ad25..39ea7ad5 100644 --- a/object/fetch/treefs.go +++ b/object/fetch/treefs.go @@ -7,16 +7,16 @@ import ( "codeberg.org/lindenii/furgit/object/tree" ) -// TreeFS exposes one Git tree as an fs.FS. +// TreeFS exposes one Git tree as an fs.FS view backed by a Fetcher. // // TreeFS interprets names using io/fs path rules. Those rules do not match raw // Git tree entry naming exactly: names are UTF-8, slash-separated, and must be // valid fs.FS paths. Tree entries that cannot be represented under those rules // are not addressable through this API. // -// TreeFS does not take ownership of its Fetcher. +// Labels: MT-Safe. type TreeFS struct { - resolver *Fetcher + fetcher *Fetcher rootTree objectid.ObjectID rootEntry *tree.TreeEntry } |
