omashpolskiy.bt-core.1.4.source-code.metainfo.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bt-core Show documentation
Show all versions of bt-core Show documentation
BitTorrent Client Library (Core)
--- # schema of a basic metainfo document
- datatype: &file
type: dictionary
entries:
- {key: length, type: integer}
- {key: path, type: list, elements: {type: string}}
- datatype: &infodict
type: dictionary
exclusives:
- length
- files
entries:
- {key: name, type: string, required: false}
- {key: "piece length", type: integer}
- {key: pieces, type: binary}
- {key: length, type: integer}
- {key: files, type: list, elements: *file}
- {key: private, type: integer, required: false}
- model:
type: dictionary
entries:
- {key: announce, type: string}
- key: announce-list
required: false
type: list
elements:
type: list
elements:
type: string
- key: info
type: *infodict