mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
32 lines
542 B
Go
32 lines
542 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package worker
|
|
|
|
type btrfsSnapshotHook struct {
|
|
}
|
|
|
|
func newBtrfsSnapshotHook(provider mirrorProvider, snapshotPath string, mirror mirrorConfig) *btrfsSnapshotHook {
|
|
return &btrfsSnapshotHook{}
|
|
}
|
|
|
|
func (h *btrfsSnapshotHook) postExec() error {
|
|
return nil
|
|
}
|
|
|
|
func (h *btrfsSnapshotHook) postFail() error {
|
|
return nil
|
|
}
|
|
|
|
func (h *btrfsSnapshotHook) postSuccess() error {
|
|
return nil
|
|
}
|
|
|
|
func (h *btrfsSnapshotHook) preExec() error {
|
|
return nil
|
|
}
|
|
|
|
func (h *btrfsSnapshotHook) preJob() error {
|
|
return nil
|
|
}
|