Versions in this module Expand all Collapse all v0 v0.1.4 May 6, 2020 GO-2023-1505 GO-2023-1505: Arbitrary file read vulnerability in github.com/uber/kraken v0.1.3 Aug 26, 2019 GO-2023-1505 GO-2023-1505: Arbitrary file read vulnerability in github.com/uber/kraken v0.1.2 Apr 9, 2019 GO-2023-1505 GO-2023-1505: Arbitrary file read vulnerability in github.com/uber/kraken v0.1.1 Mar 11, 2019 GO-2023-1505 GO-2023-1505: Arbitrary file read vulnerability in github.com/uber/kraken v0.1.0 Feb 23, 2019 GO-2023-1505 GO-2023-1505: Arbitrary file read vulnerability in github.com/uber/kraken Changes in this version + var ErrReadOnly = errors.New("Read-only torrent is being written to") + type Torrent struct + func NewTorrent(cas *store.CAStore, mi *core.MetaInfo) (*Torrent, error) + func (t *Torrent) Bitfield() *bitset.BitSet + func (t *Torrent) BytesDownloaded() int64 + func (t *Torrent) Complete() bool + func (t *Torrent) Digest() core.Digest + func (t *Torrent) GetPieceReader(pi int) (storage.PieceReader, error) + func (t *Torrent) HasPiece(pi int) bool + func (t *Torrent) InfoHash() core.InfoHash + func (t *Torrent) Length() int64 + func (t *Torrent) MaxPieceLength() int64 + func (t *Torrent) MissingPieces() []int + func (t *Torrent) NumPieces() int + func (t *Torrent) PieceLength(pi int) int64 + func (t *Torrent) Stat() *storage.TorrentInfo + func (t *Torrent) String() string + func (t *Torrent) WritePiece(src storage.PieceReader, pi int) error + type TorrentArchive struct + func NewTorrentArchive(cas *store.CAStore, blobRefresher *blobrefresh.Refresher) *TorrentArchive + func (a *TorrentArchive) CreateTorrent(namespace string, d core.Digest) (storage.Torrent, error) + func (a *TorrentArchive) DeleteTorrent(d core.Digest) error + func (a *TorrentArchive) GetTorrent(namespace string, d core.Digest) (storage.Torrent, error) + func (a *TorrentArchive) Stat(namespace string, d core.Digest) (*storage.TorrentInfo, error)