An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/reiver/go-digestfs

Package digestfs provides a content-addressable virtual file system (VFS) by providing a common interface to one or more content-addressable storage (CAS). Here is an example of how to use an already mounted digestfs.MountPoint to get content: Note that if you had the digest encoded as hexadecimal, then you could decode it into binary using: As in: Here, ‘content’ would give you access to the data on the content mostly via an io.ReaderAt interface. For example: Alternatively, if you want to use the io.Reader interface, you can upgrade ‘content’ from an io.ReaderAt to an io.Reader by using an io.SectionReader. For example: How you create a digestfs.MountPoint depends on which MountPoint you use. But mounting looks something like: Some content-addressable storages (CAS) that can be used with digestfs include: • https://godoc.org/github.com/reiver/go-memdigest

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/reiver/go-digestfs
Keywords: content-addressable-file-system , content-addressable-storage , content-addressing , vfs , virtual-file-system
License: MIT
Latest release: about 6 years ago
First release: about 6 years ago
Namespace: github.com/reiver
Stars: 3 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago

    Loading...
    Readme
    Loading...