fs

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(root string) (blob.Objects, error)

New creates a new instance of the local fs blob service rooted at the given path

func NewWithConfig

func NewWithConfig(config Config) (blob.Objects, error)

NewWithConfig creates a new instance of the local fs blob service with the specified configuration

Types

type Config

type Config struct {
	// Path specifies the directory for blobs
	Path string
	// User optionally specifies the user context for file operations
	User *systeminfo.User
}

Config defines the blob service configuration

Jump to

Keyboard shortcuts

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