From 73956f38e5322ef81a278db9b36fdab606e6ded7 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 28 Nov 2024 08:21:04 -0700 Subject: [PATCH] Enhance DeepFS comment --- fs.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fs.go b/fs.go index 7e46948..652d2e2 100644 --- a/fs.go +++ b/fs.go @@ -676,9 +676,14 @@ func (f *ArchiveFS) Sub(dir string) (fs.FS, error) { // for accessing data in an "ordinary" walk of the disk, without needing to // first extract all the archives and use more disk space. // +// Archives within archives are not supported. +// // The listing of archive entries is retained for the lifetime of the // DeepFS value for efficiency, but this can use more memory if archives // contain a lot of files. +// +// The exported fields may be changed during the lifetime of a DeepFS value +// (but not concurrently). It is safe to use this type as an FS concurrently. type DeepFS struct { // The root filepath on disk. Root string