[][src]Module arq::tree

Commits, Trees and Nodes

When Arq backs up a folder, it creates 3 types of objects: "commits", "trees" and "blobs".

Each backup that you see in Arq corresponds to a "commit" object in the backup data. Its name is the SHA1 of its contents. The commit contains the SHA1 of a "tree" object in the backup data. This tree corresponds to the folder you're backing up.

Each tree contains "nodes"; each node has either the SHA1 of another tree, or the SHA1 of a file (or multiple SHA1s, see "Tree format" below).

All commits, trees and blobs are stored as EncryptedObjects.

Structs

Commit

Commit

Node

Node

Tree

Tree

Type Definitions

FailedFile
ParentCommits