ls

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IterateStoragePaths

func IterateStoragePaths(ctx context.Context, api storage.StorageAPI, remotePath string, callback func(objectName string) error) error

func IterateStoragePathsAll

func IterateStoragePathsAll(ctx context.Context, api storage.StorageAPI, remotePath string, callback func(objectPath string) error) error

func ListStoragePaths

func ListStoragePaths(ctx context.Context, api storage.StorageAPI, remotePath string) ([]string, error)

func ListStoragePathsAll

func ListStoragePathsAll(ctx context.Context, api storage.StorageAPI, remotePath string) ([]string, error)

Expects remotePath to be terminated by "/"

func Run

func Run(ctx context.Context, objectPath string, recursive bool, fsys afero.Fs) error

func RunVolcengine

func RunVolcengine(ctx context.Context, api *volcengine.Client, workspaceID, branchID, objectPath string, recursive bool, fsys afero.Fs) error

RunVolcengine lists remote Storage paths through the branch Storage gateway.

Types

This section is empty.

Jump to

Keyboard shortcuts

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