Documentation
¶
Index ¶
- Constants
- func EffectiveMaxFileSizeMB(configured int) int
- func IsTextContent(content []byte) bool
- func MaxFileSizeBytes(configuredMB int) int64
- func ValidateTextContent(content []byte, maxBytes int64) error
- func ValidateUpdateManifest(fileTreeRevision string, fileChangeCount, maxFileChanges int) error
- func ValidateUploadIndices(changes []UploadReference, uploadCount int, ...) error
- type UploadReference
Constants ¶
View Source
const DefaultMaxFileSizeMB = 10
Variables ¶
This section is empty.
Functions ¶
func EffectiveMaxFileSizeMB ¶
func IsTextContent ¶
func MaxFileSizeBytes ¶
func ValidateTextContent ¶
func ValidateUpdateManifest ¶
func ValidateUploadIndices ¶
func ValidateUploadIndices(changes []UploadReference, uploadCount int, createFileOperation, updateFileOperation string) error
Types ¶
type UploadReference ¶
Click to show internal directories.
Click to hide internal directories.