CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
publish::HardlinkGroup Struct Reference

#include <sync_mediator.h>

Collaboration diagram for publish::HardlinkGroup:

Public Member Functions

 HardlinkGroup (const SharedPtr< SyncItem > &item)
 
void AddHardlink (const SharedPtr< SyncItem > &entry)
 

Public Attributes

SharedPtr< SyncItemmaster
 
SyncItemList hardlinks
 
FileChunkList file_chunks
 

Detailed Description

If we encounter a file with linkcount > 1 it will be added to a HardlinkGroup After processing all files, the HardlinkGroups are populated with related hardlinks Assertion: linkcount == HardlinkGroup::hardlinks.size() at the end

Definition at line 96 of file sync_mediator.h.

Constructor & Destructor Documentation

publish::HardlinkGroup::HardlinkGroup ( const SharedPtr< SyncItem > &  item)
inlineexplicit

Definition at line 97 of file sync_mediator.h.

Member Function Documentation

void publish::HardlinkGroup::AddHardlink ( const SharedPtr< SyncItem > &  entry)
inline

Definition at line 101 of file sync_mediator.h.

Member Data Documentation

FileChunkList publish::HardlinkGroup::file_chunks

Definition at line 107 of file sync_mediator.h.

Referenced by publish::SyncMediator::AddHardlinkGroup().

SyncItemList publish::HardlinkGroup::hardlinks
SharedPtr<SyncItem> publish::HardlinkGroup::master

Definition at line 105 of file sync_mediator.h.

Referenced by publish::SyncMediator::AddHardlinkGroup(), and HardlinkGroup().


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