File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -676,9 +676,14 @@ func (f *ArchiveFS) Sub(dir string) (fs.FS, error) {
676
676
// for accessing data in an "ordinary" walk of the disk, without needing to
677
677
// first extract all the archives and use more disk space.
678
678
//
679
+ // Archives within archives are not supported.
680
+ //
679
681
// The listing of archive entries is retained for the lifetime of the
680
682
// DeepFS value for efficiency, but this can use more memory if archives
681
683
// contain a lot of files.
684
+ //
685
+ // The exported fields may be changed during the lifetime of a DeepFS value
686
+ // (but not concurrently). It is safe to use this type as an FS concurrently.
682
687
type DeepFS struct {
683
688
// The root filepath on disk.
684
689
Root string
You can’t perform that action at this time.
0 commit comments