CernVM-FS  2.9.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 (SharedPtr< SyncItem > item)
void AddHardlink (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 98 of file sync_mediator.h.

Constructor & Destructor Documentation

publish::HardlinkGroup::HardlinkGroup ( SharedPtr< SyncItem item)

Definition at line 99 of file sync_mediator.h.

Member Function Documentation

void publish::HardlinkGroup::AddHardlink ( SharedPtr< SyncItem entry)

Definition at line 103 of file sync_mediator.h.

Member Data Documentation

FileChunkList publish::HardlinkGroup::file_chunks

Definition at line 109 of file sync_mediator.h.

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

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

Definition at line 107 of file sync_mediator.h.

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

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