storage

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const PermDefault = 0o640

PermDefault are default permission bits for BlobStor data.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config config.Config

func From

func From(x *config.Config) *Config

func (*Config) Path

func (x *Config) Path() string

Path returns the value of "path" config parameter.

Panics if the value is not a non-empty string.

func (*Config) Perm

func (x *Config) Perm() fs.FileMode

Perm returns the value of "perm" config parameter as a fs.FileMode.

Returns PermDefault if the value is not a non-zero number.

func (*Config) Type

func (x *Config) Type() string

Type returns storage type.

Jump to

Keyboard shortcuts

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