properties

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidKey = errors.New("invalid property key")
)

Functions

func DeleteProperty

func DeleteProperty(filePath string, key string) (bool, error)

func GetProperty

func GetProperty(filePath string, key string) ([]byte, bool, error)

func ReadPropertyKeys

func ReadPropertyKeys(filePath string) ([]string, error)

func UpsertProperty

func UpsertProperty(filePath string, key string, value []byte) error

Types

type UnlockFunc

type UnlockFunc func() error

Jump to

Keyboard shortcuts

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