TODO
This commit is contained in:
parent
a11df82349
commit
902e40dd67
|
@ -14,13 +14,14 @@ import (
|
|||
|
||||
// The info dictionary.
|
||||
type Info struct {
|
||||
PieceLength int64 `bencode:"piece length"`
|
||||
Pieces []byte `bencode:"pieces"`
|
||||
Name string `bencode:"name"`
|
||||
Length int64 `bencode:"length,omitempty"`
|
||||
Private *bool `bencode:"private,omitempty"`
|
||||
Source string `bencode:"source,omitempty"`
|
||||
Files []FileInfo `bencode:"files,omitempty"`
|
||||
PieceLength int64 `bencode:"piece length"`
|
||||
Pieces []byte `bencode:"pieces"`
|
||||
Name string `bencode:"name"`
|
||||
Length int64 `bencode:"length,omitempty"`
|
||||
Private *bool `bencode:"private,omitempty"`
|
||||
// TODO: Document this field.
|
||||
Source string `bencode:"source,omitempty"`
|
||||
Files []FileInfo `bencode:"files,omitempty"`
|
||||
}
|
||||
|
||||
// This is a helper that sets Files and Pieces from a root path and its
|
||||
|
|
Loading…
Reference in New Issue