Documentation
¶
Overview ¶
Package delete provides options for deleting files and directories in a virtual filesystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAllVersions ¶
func WithAllVersions() options.DeleteOption
WithAllVersions returns AllVersions implementation of DeleteOption
func WithDeleteAllVersions ¶
func WithDeleteAllVersions() options.DeleteOption
WithDeleteAllVersions returns DeleteAllVersions implementation of options.DeleteOption Deprecated: use WithAllVersions instead
Types ¶
type AllVersions ¶
type AllVersions struct{}
AllVersions represents the DeleteOption that is used to remove all versions of files when deleted. This will remove all versions of files for the filesystems that support file versioning.
func (AllVersions) DeleteOptionName ¶
func (w AllVersions) DeleteOptionName() string
DeleteOptionName returns the name of AllVersions option
type DeleteAllVersions ¶
type DeleteAllVersions struct{}
DeleteAllVersions represents the DeleteOption that is used to remove all versions of files when deleted. This will remove all versions of files for the filesystems that support file versioning. Deprecated: use AllVersions instead
func (DeleteAllVersions) DeleteOptionName ¶
func (w DeleteAllVersions) DeleteOptionName() string
DeleteOptionName returns the name of DeleteAllVersions option