├── .github └── workflows │ ├── codeql.yml │ ├── scorecard.yml │ ├── test.yml │ └── test_wasip1.yml ├── .gitignore ├── .golangci.yaml ├── .renovaterc.json5 ├── LICENSE ├── Makefile ├── README.md ├── embedfs ├── embed.go ├── embed_test.go └── testdata │ ├── empty.txt │ └── empty2.txt ├── fs.go ├── fs_test.go ├── go.mod ├── go.sum ├── helper ├── chroot │ ├── chroot.go │ ├── chroot_posix.go │ └── chroot_test.go ├── iofs │ ├── iofs.go │ └── iofs_test.go ├── mount │ ├── mount.go │ └── mount_test.go ├── polyfill │ ├── polyfill.go │ └── polyfill_test.go └── temporal │ ├── temporal.go │ └── temporal_test.go ├── internal └── test │ └── mock.go ├── memfs ├── file.go ├── memory.go ├── memory_option.go ├── memory_test.go └── storage.go ├── osfs ├── os.go ├── os_bench_test.go ├── os_bound.go ├── os_bound_test.go ├── os_chroot.go ├── os_chroot_test.go ├── os_js.go ├── os_js_test.go ├── os_options.go ├── os_plan9.go ├── os_posix.go ├── os_test.go ├── os_wasip1.go ├── os_wasip1_test.go └── os_windows.go ├── scripts └── wasirun-wrapper ├── test ├── basic_test.go ├── bench_test.go ├── chroot_test.go ├── common_mem.go ├── common_posix.go ├── common_windows.go ├── dir_test.go ├── fs_test.go ├── symlink_test.go └── tempfile_test.go └── util ├── glob.go ├── glob_test.go ├── util.go ├── util_test.go ├── walk.go └── walk_test.go /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/scorecard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/.github/workflows/scorecard.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/test_wasip1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/.github/workflows/test_wasip1.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.* 2 | /vendor 3 | /build/ 4 | -------------------------------------------------------------------------------- /.golangci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/.golangci.yaml -------------------------------------------------------------------------------- /.renovaterc.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/.renovaterc.json5 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/README.md -------------------------------------------------------------------------------- /embedfs/embed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/embedfs/embed.go -------------------------------------------------------------------------------- /embedfs/embed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/embedfs/embed_test.go -------------------------------------------------------------------------------- /embedfs/testdata/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /embedfs/testdata/empty2.txt: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /fs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/fs.go -------------------------------------------------------------------------------- /fs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/fs_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/go.sum -------------------------------------------------------------------------------- /helper/chroot/chroot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/chroot/chroot.go -------------------------------------------------------------------------------- /helper/chroot/chroot_posix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/chroot/chroot_posix.go -------------------------------------------------------------------------------- /helper/chroot/chroot_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/chroot/chroot_test.go -------------------------------------------------------------------------------- /helper/iofs/iofs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/iofs/iofs.go -------------------------------------------------------------------------------- /helper/iofs/iofs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/iofs/iofs_test.go -------------------------------------------------------------------------------- /helper/mount/mount.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/mount/mount.go -------------------------------------------------------------------------------- /helper/mount/mount_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/mount/mount_test.go -------------------------------------------------------------------------------- /helper/polyfill/polyfill.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/polyfill/polyfill.go -------------------------------------------------------------------------------- /helper/polyfill/polyfill_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/polyfill/polyfill_test.go -------------------------------------------------------------------------------- /helper/temporal/temporal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/temporal/temporal.go -------------------------------------------------------------------------------- /helper/temporal/temporal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/helper/temporal/temporal_test.go -------------------------------------------------------------------------------- /internal/test/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/internal/test/mock.go -------------------------------------------------------------------------------- /memfs/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/memfs/file.go -------------------------------------------------------------------------------- /memfs/memory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/memfs/memory.go -------------------------------------------------------------------------------- /memfs/memory_option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/memfs/memory_option.go -------------------------------------------------------------------------------- /memfs/memory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/memfs/memory_test.go -------------------------------------------------------------------------------- /memfs/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/memfs/storage.go -------------------------------------------------------------------------------- /osfs/os.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os.go -------------------------------------------------------------------------------- /osfs/os_bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_bench_test.go -------------------------------------------------------------------------------- /osfs/os_bound.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_bound.go -------------------------------------------------------------------------------- /osfs/os_bound_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_bound_test.go -------------------------------------------------------------------------------- /osfs/os_chroot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_chroot.go -------------------------------------------------------------------------------- /osfs/os_chroot_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_chroot_test.go -------------------------------------------------------------------------------- /osfs/os_js.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_js.go -------------------------------------------------------------------------------- /osfs/os_js_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_js_test.go -------------------------------------------------------------------------------- /osfs/os_options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_options.go -------------------------------------------------------------------------------- /osfs/os_plan9.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_plan9.go -------------------------------------------------------------------------------- /osfs/os_posix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_posix.go -------------------------------------------------------------------------------- /osfs/os_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_test.go -------------------------------------------------------------------------------- /osfs/os_wasip1.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_wasip1.go -------------------------------------------------------------------------------- /osfs/os_wasip1_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_wasip1_test.go -------------------------------------------------------------------------------- /osfs/os_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/osfs/os_windows.go -------------------------------------------------------------------------------- /scripts/wasirun-wrapper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/scripts/wasirun-wrapper -------------------------------------------------------------------------------- /test/basic_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/basic_test.go -------------------------------------------------------------------------------- /test/bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/bench_test.go -------------------------------------------------------------------------------- /test/chroot_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/chroot_test.go -------------------------------------------------------------------------------- /test/common_mem.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/common_mem.go -------------------------------------------------------------------------------- /test/common_posix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/common_posix.go -------------------------------------------------------------------------------- /test/common_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/common_windows.go -------------------------------------------------------------------------------- /test/dir_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/dir_test.go -------------------------------------------------------------------------------- /test/fs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/fs_test.go -------------------------------------------------------------------------------- /test/symlink_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/symlink_test.go -------------------------------------------------------------------------------- /test/tempfile_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/test/tempfile_test.go -------------------------------------------------------------------------------- /util/glob.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/util/glob.go -------------------------------------------------------------------------------- /util/glob_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/util/glob_test.go -------------------------------------------------------------------------------- /util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/util/util.go -------------------------------------------------------------------------------- /util/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/util/util_test.go -------------------------------------------------------------------------------- /util/walk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/util/walk.go -------------------------------------------------------------------------------- /util/walk_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-git/go-billy/HEAD/util/walk_test.go --------------------------------------------------------------------------------