Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProgressHandler ¶ added in v0.11.0
NewProgressHandler returns a callback for reporting transfer progress and a cleanup function that ensures the underlying progress writer is closed. The cleanup function must be called by the caller (typically via defer), so the writer is released even when the callback is never invoked with last=true (for example when an early error short-circuits the transfer).
Types ¶
type CreateFSOpts ¶ added in v0.11.0
func (*CreateFSOpts) UsePlatformSplit ¶ added in v0.23.0
func (c *CreateFSOpts) UsePlatformSplit(isMap bool) bool
Click to show internal directories.
Click to hide internal directories.