Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseAllSnapshots ¶
func CloseAllSnapshots()
func GarbageCollect ¶ added in v0.3.0
func GarbageCollect()
Types ¶
type KnownSnapshots ¶
func (*KnownSnapshots) Delete ¶
func (k *KnownSnapshots) Delete(path string) error
func (*KnownSnapshots) Get ¶
func (k *KnownSnapshots) Get(path string) (*WinVSSSnapshot, error)
func (*KnownSnapshots) GetAll ¶
func (k *KnownSnapshots) GetAll() ([]WinVSSSnapshot, error)
func (*KnownSnapshots) Save ¶
func (k *KnownSnapshots) Save(snap *WinVSSSnapshot) error
type WinVSSSnapshot ¶
type WinVSSSnapshot struct { SnapshotPath string `json:"path"` Id string `json:"vss_id"` LastAccessed time.Time `json:"last_accessed"` TimeStarted time.Time `json:"time_started"` }
func Snapshot ¶
func Snapshot(driveLetter string) (*WinVSSSnapshot, error)
func (*WinVSSSnapshot) Close ¶
func (instance *WinVSSSnapshot) Close()
func (*WinVSSSnapshot) GetTimestamp ¶ added in v0.2.0
func (instance *WinVSSSnapshot) GetTimestamp() time.Time
func (*WinVSSSnapshot) UpdateTimestamp ¶
func (instance *WinVSSSnapshot) UpdateTimestamp()
Click to show internal directories.
Click to hide internal directories.