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/simplesurance/mimemagic

Package mimemagic implements MIME sniffing using pre-compiled glob patterns, magic number signatures, xml document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database. To generate your own database simply remove the leading space, point to the directory with freedesktop.org package files (freedesktop.org.xml, if it exists, is always processed first and Override.xml is always processed last), and run go generate: To use the default freedesktop.org.xml file provided in this package: globs.go is generated unformatted so it's a good idea to run this for your OCD

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/simplesurance/mimemagic
License: MIT
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/simplesurance
Last synced: 27 days ago

    Loading...
    Readme
    Loading...