package
0.0.0-20201123115022-01f5b337c2c6
Repository: https://github.com/p2png/core.git
Documentation: pkg.go.dev
# Functions
StatFile return the FileInfo for a file in the disk.
StatLocalFile return the LocalFileInfo for a file in the disk.
# Constants
DefaultFileBlockSize is used for the default parameter to split a file to several blockstodo: May Declare in elsewhere.
# Structs
FileInfo describe a file by the SHA512 checksum for itself and SHA512-256 of every block of it.
LocalFileInfo extends FileInfo with the filepath and modify time.
SeedInfo contains a list of Files and WellKnown Peers.