Categorygithub.com/clinta/go-zfs
modulepackage
0.0.0-20181025145938-e5fe14d9dcb7
Repository: https://github.com/clinta/go-zfs.git
Documentation: pkg.go.dev

# Packages

Package cmd provides a thin wrapper around zfs commands.

# Functions

CreateDataset creates a dataset.
CreateDatasetRecursive recursively creates a dataset.
DatasetExists checks for the existence of a dataset.
DatasetList lists all datasets.
GetDataset returns a zfs dataset object from a string.
GetSnapshot returns a snapshot from a string.
IsEmpty returns whether or not a directory is empty.
SnapshotExists checks for the existence of a dataset.

# Structs

Dataset is a zfs dataset.
Snapshot represents a zfs snapshot.