package
1.58.0
Repository: https://github.com/anacrolix/torrent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

A helper to create zero-length files which won't appear for file-orientated storage since no writes will ever occur to them (no torrent data is associated with a zero-length file).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
All Torrent data stored in this baseDir.
File storage with data partitioned by infohash.
NewFileOpts creates a new ClientImplCloser that stores files using the OS native filesystem.
No description provided by the author
Deprecated: Allows passing a function to determine the path for storing torrent data.
Deprecated: Allows passing custom PieceCompletion.
No description provided by the author
TODO: Support all the same native filepath configuration that NewFileOpts provides.
No description provided by the author
No description provided by the author
No description provided by the author
Combines file info path components, ensuring the result won't escape into parent directories.
Combines a mmapped region and file into a storage Mmap abstraction, which handles closing the mmap file handle.

# Structs

No description provided by the author
No description provided by the author
Info passed to a FilePathMaker.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Data storage bound to a torrent.

# Interfaces

Represents data storage for an unspecified torrent.
No description provided by the author
No description provided by the author
No description provided by the author
Implementations track the completion of pieces.
No description provided by the author
Interacts with torrent piece data.
No description provided by the author
No description provided by the author
Allows a storage backend to override hashing (i.e.
No description provided by the author

# Type aliases

No description provided by the author
Determines the filepath to be used for each file in a torrent.
Determines the directory for a given torrent within a storage client.