Skip to content
API Documentation
BastionGuard™
SnapshotRepo.vala File Reference

Go to the source code of this file.

Classes

class  SnapshotRepo

Enumerations

enum  SnapshotLocationStatus {
  NOT_SELECTED = -2 , NOT_AVAILABLE = -1 , HAS_SNAPSHOTS_HAS_SPACE = 0 , HAS_SNAPSHOTS_NO_SPACE = 1 ,
  NO_SNAPSHOTS_NO_SPACE = 2 , NO_SNAPSHOTS_HAS_SPACE = 3 , READ_ONLY_FS = 4 , HARDLINKS_NOT_SUPPORTED = 5 ,
  NO_BTRFS_SYSTEM = 6
}

Enumeration Type Documentation

◆ SnapshotLocationStatus

Enumerator
NOT_SELECTED 
NOT_AVAILABLE 
HAS_SNAPSHOTS_HAS_SPACE 
HAS_SNAPSHOTS_NO_SPACE 
NO_SNAPSHOTS_NO_SPACE 
NO_SNAPSHOTS_HAS_SPACE 
READ_ONLY_FS 
HARDLINKS_NOT_SUPPORTED 
NO_BTRFS_SYSTEM 

Definition at line 1015 of file SnapshotRepo.vala.

1015 {
1016 /*
1017 -1 - device un-available, path does not exist
1018 0 - first snapshot taken, disk space sufficient
1019 1 - first snapshot taken, disk space not sufficient
1020 2 - first snapshot not taken, disk space not sufficient
1021 3 - first snapshot not taken, disk space sufficient
1022 4 - path is readonly
1023 5 - hardlinks not supported
1024 6 - btrfs device does not have @ subvolume
1025 */
1026 NOT_SELECTED = -2,
1027 NOT_AVAILABLE = -1,
1032 READ_ONLY_FS = 4,
1034 NO_BTRFS_SYSTEM = 6
1035}