-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
To present all snapshots and to interact with all snapshots we should have a good data structure.
Possible solution
I've choosed a heap to store them.
With two structures :
typedef struct
{
char *name;
char *description;
int indexFirstChild; // Index of the first child because we have only two way to go to a snapshot to another ( Current Snapshot ==> Parent Snapshot or Roots Snapshot to Children Snapshots sort by index)
int numChild; // number of children snapshots
} Snapshot;
typedef struct
{
Snapshot data[DEFAULT_SNAPSHOT_HEAP_SIZE];
int index;
}SnapshotHeap; Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request