delete

package
v7.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL