diff options
| author | Mauri de Souza Meneguzzo <mauri870@gmail.com> | 2023-08-10 21:13:11 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-09-13 13:59:01 +0000 |
| commit | e5600f063d41fdd531a23384744ea9018767a186 (patch) | |
| tree | 5e9e883e458d88d7e90a0a3c24580262ffb6f101 /src/os/exec/exec_test.go | |
| parent | 0460c61e5fd2242d27451f527dafc4d9a098fef4 (diff) | |
| download | go-e5600f063d41fdd531a23384744ea9018767a186.tar.xz | |
archive/tar: add AddFS method to Writer
The method AddFS can be used to add the contents of a fs.FS filesystem
to a tar archive. This method walks the directory tree starting at the root
of the filesystem and adds each file to the archive.
Fixes #58000
Change-Id: I0e6abac76b76bc5d95b74b7e5b37634ce3f76c85
GitHub-Last-Rev: 11a62bfd7ebc7ca93b1832da15018e6805c92520
GitHub-Pull-Request: golang/go#61599
Reviewed-on: https://go-review.googlesource.com/c/go/+/513316
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions
