tools/txtar
Tim King 2fb3ebe9d9 txtar: implement fs.FS
Implements a read-only fs.FS view of a txtar.Archive.
It returns an error if the names in the archive are not valid
file system names. The archive cannot be modified while the
file system is in use.

Fixes golang/go#44158

Change-Id: If1e77833545a5b5db28006322e7f214951bc52f6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/598756
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-07-19 17:32:15 +00:00
..
archive.go tools: replace references to obsolete package ioutils 2023-09-12 20:13:37 +00:00
archive_test.go txtar/archive: ignore invalid file separators 2021-07-26 17:18:48 +00:00
fs.go txtar: implement fs.FS 2024-07-19 17:32:15 +00:00
fs_test.go txtar: implement fs.FS 2024-07-19 17:32:15 +00:00