Documentation ¶
Overview ¶
Package sandbox allows checking files before re-uploading them, so any given version of a file need only be uploaded once rather than being uploaded repeatedly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sandbox ¶
Sandbox is a slice of checksums of files, marked completed once they've all been uploaded or if they've already been uploaded.
func AllSandboxes ¶ added in v0.5.2
func AllSandboxes() []*Sandbox
AllSandboxes returns all sandboxes on the server.
func (*Sandbox) IsComplete ¶
IsComplete returns true if the sandbox is complete.
func (*Sandbox) UploadChkList ¶
UploadChkList builds the list of file checksums and whether or not they need to be uploaded. If they do, the upload URL is also provided.
Click to show internal directories.
Click to hide internal directories.