Discover Packages
github.com/kanowfy/btor
metainfo
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Sep 6, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type FileEntry struct {
Length int `mapstructure:"length"`
Path []string `mapstructure:"path"`
}
type Info struct {
Length int `mapstructure:"length"`
Files []FileEntry `mapstructure:"files"`
Name string `mapstructure:"name"`
PieceLength int `mapstructure:"piece length"`
Pieces string `mapstructure:"pieces"`
}
type Metainfo struct {
Announce string `mapstructure:"announce"`
Info Info `mapstructure:"info"`
InfoHash []byte
Multifile bool
}
Parse parses a stream into Metainfo
PieceHashes returns a hash slice of pieces in a file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.