CernVM-FS
2.12.0
|
#include <file_chunk.h>
Public Member Functions | |
FileChunk () | |
FileChunk (const shash::Any &hash, const off_t offset, const size_t size) | |
const shash::Any & | content_hash () const |
off_t | offset () const |
size_t | size () const |
Protected Attributes | |
shash::Any | content_hash_ |
content hash of the compressed file chunk More... | |
off_t | offset_ |
byte offset in the uncompressed input file More... | |
size_t | size_ |
uncompressed size of the data chunk More... | |
This file is part of the CernVM File System.
This class implements a data wrapper for single dentries in CVMFS Additionally to the normal file meta data it manages some bookkeeping data like the associated catalog. Describes a FileChunk as generated from the FileProcessor in collaboration with the ChunkGenerator.
Definition at line 31 of file file_chunk.h.
|
inline |
Definition at line 33 of file file_chunk.h.
|
inline |
Definition at line 34 of file file_chunk.h.
|
inline |
Definition at line 41 of file file_chunk.h.
Referenced by catalog::SqlChunkInsert::BindFileChunk(), cvmfs::cvmfs_read(), cvmfs::Evict(), swissknife::CommandCheck::Find(), cvmfs::Pin(), LibContext::Pread(), ChunkListMagicXattr::PrepareValueFenced(), and FileItem::RegisterChunk().
|
inline |
Definition at line 42 of file file_chunk.h.
Referenced by catalog::WritableCatalog::AddFileChunk(), catalog::SqlChunkInsert::BindFileChunk(), cvmfs::cvmfs_read(), swissknife::CommandCheck::Find(), cvmfs::Pin(), LibContext::Pread(), ChunkListMagicXattr::PrepareValueFenced(), and FileItem::RegisterChunk().
|
inline |
Definition at line 43 of file file_chunk.h.
Referenced by catalog::WritableCatalog::AddFileChunk(), catalog::SqlChunkInsert::BindFileChunk(), cvmfs::cvmfs_read(), swissknife::CommandCheck::Find(), cvmfs::Pin(), LibContext::Pread(), ChunkListMagicXattr::PrepareValueFenced(), and FileItem::RegisterChunk().
|
protected |
content hash of the compressed file chunk
Definition at line 46 of file file_chunk.h.
Referenced by content_hash().
|
protected |
byte offset in the uncompressed input file
Definition at line 47 of file file_chunk.h.
Referenced by offset().
|
protected |
uncompressed size of the data chunk
Definition at line 48 of file file_chunk.h.
Referenced by size().