fs

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const FilenameShardID string = "shard_id.json"

Variables

This section is empty.

Functions

func MkdirAllX

func MkdirAllX(path string, perm os.FileMode) error

MkdirAllX calls os.MkdirAll with the passed permissions but with +x for a user and a group. This makes the created dir openable regardless of the passed permissions.

func ReadShardID added in v0.49.0

func ReadShardID(path string) (string, error)

func WriteShardID added in v0.49.0

func WriteShardID(shardID string, path string, perm os.FileMode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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