Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: golang-github-yalue-merged-fs
2 Maintainer: Debian Go Packaging Team <[email protected]>
3 Uploaders:
4 Thomas Goirand <[email protected]>,
5 Section: golang
6 Testsuite: autopkgtest-pkg-go
7 Priority: optional
8 Build-Depends:
9 debhelper-compat (= 13),
10 dh-golang,
11 golang-any,
12 Standards-Version: 4.6.1
13 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-yalue-merged-fs
14 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-yalue-merged-fs.git
15 Homepage: https://github.com/yalue/merged_fs
16 Rules-Requires-Root: no
17 XS-Go-Import-Path: github.com/yalue/merged_fs
18
19 Package: golang-github-yalue-merged-fs-dev
20 Architecture: all
21 Multi-Arch: foreign
22 Depends:
23 ${misc:Depends},
24 Description: compose multiple Go filesystems
25 The [release of version 1.16](https://golang.org/doc/go1.16) of the Go
26 programming language included a standard interface for read-only filesystems,
27 defined in Go's `io/fs` standard library package. With this change came some
28 other standard-library changes, including the fact that `archive/zip` now
29 provides a "filesystem" interface for zip files, or the ability of `net/http`
30 to serve files from any filesystem providing the `io/fs` interface. In
31 conjunction, this means utilities like the HTTP server can now directly serve
32 content from zip files, without the data needing to be extracted manually.
33 .
34 While that's already pretty cool, wouldn't it be nice if you could, for
35 example, transparently serve data from multiple zip files as if they were a
36 single directory? This library provides the means to do so: it implements the
37 `io/fs.FS` interface using two underlying filesystems. The underlying
38 filesystems can even include additional `MergedFS` instances, enabling
39 combining an arbitrary number of filesystems into a single `io/fs.FS`.
40 .
41 This repository provides a roughly similar function to laher/mergefs
42 (https://github.com/laher/mergefs), but it offers one key distinction:
43 correctly listing contents of merged directories present in both FS's. This
44 adds quite a bit of complexity. However, laher/mergefs will be more performant
45 for filesystems not requiring directory-listing capabilities.