Documentation
¶
Index ¶
Constants ¶
View Source
const ChunkSize = 64 * 1024
Variables ¶
This section is empty.
Functions ¶
func DiscardStaging ¶
func FinalizePath ¶
func StagedOffset ¶
func StagingPath ¶
StagingPath maps a transfer id to a single flat file inside the temp dir. All path separators and unsafe characters are stripped so a transfer id can never escape the staging directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.