mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 12:52:45 +00:00
31 lines
524 B
Go
31 lines
524 B
Go
// +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
|
|
}
|