Logo Search packages:      
Sourcecode: obnam version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions

obnamlib::clientmetadatatree::ClientMetadataTree Class Reference

Inheritance diagram for obnamlib::clientmetadatatree::ClientMetadataTree:
Inheritance graph
[legend]
Collaboration diagram for obnamlib::clientmetadatatree::ClientMetadataTree:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def append_file_chunks
def chunk_in_use
def chunk_key
def chunk_unkey
def commit
def create
def find_generation
def fskey
def genkey
def get_file_chunks
def get_file_id
def get_generation_id
def get_generation_times
def get_is_checkpoint
def get_metadata
def hash_name
def hashkey
def int2bin
def list_chunks_in_generation
def list_generations
def listdir
def remove
def remove_generation
def set_current_generation_is_checkpoint
def set_file_chunks
def set_metadata
def start_generation

Public Attributes

 chunkids_per_key
 genhash
 known_generations
 tree

Static Public Attributes

int DIR_CONTENTS = 4
int FILE_CHUNKS = 1
int FILE_METADATA = 3
int FILE_METADATA_ENCODED = 0
int FILE_NAME = 0
int GEN_ENDED = 2
int GEN_ID = 0
int GEN_IS_CHECKPOINT = 3
int GEN_STARTED = 1
int PREFIX_CHUNK_REF = 1
int PREFIX_FS_META = 0
int PREFIX_GEN_META = 2
tuple SUBKEY_MAX = struct.pack('!Q', obnamlib.MAX_ID)
int TYPE_MAX = 255

Private Member Functions

def _decode_chunks
def _encode_chunks
def _insert_chunks
def _insert_int
def _lookup_int
def _lookup_time

Detailed Description

Store per-client metadata about files.

Actual file contents is stored elsewhere, this stores just the 
metadata about files: names, inode info, and what chunks of
data they use.

See http://braawi.org/obnam/ondisk/ for a description of how
this works.

Definition at line 27 of file clientmetadatatree.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index