Documentation ¶
Overview ¶
Package storageutil provides helpers for storage implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePrefix ¶
ValidatePrefix validates a prefix.
Types ¶
type ObjectInfo ¶
type ObjectInfo struct {
// contains filtered or unexported fields
}
ObjectInfo is an embeddable ObjectInfo.
This is intentially static and should not be modifiable. If constructing an object, do not use an ObjectInfo to build it.
func NewObjectInfo ¶
func NewObjectInfo( path string, externalPath string, localPath string, ) ObjectInfo
NewObjectInfo returns a new ObjectInfo.
func (ObjectInfo) ExternalPath ¶
func (o ObjectInfo) ExternalPath() string
ExternalPath implements ObjectInfo.
func (ObjectInfo) LocalPath ¶ added in v1.32.0
func (o ObjectInfo) LocalPath() string
LocalPath implements ObjectInfo.
type WalkChecker ¶
WalkChecker does validation for every step of a walk.
Click to show internal directories.
Click to hide internal directories.