#include <sync_item_tar.h>
|
| SyncItemTar (const std::string &relative_parent_path, const std::string &filename, struct archive *archive, struct archive_entry *entry, Signal *read_archive_signal, const SyncUnion *union_engine, const uid_t uid, const gid_t gid) |
|
| SyncItemTar (const std::string &relative_parent_path, const std::string &filename, struct archive *archive, struct archive_entry *entry, Signal *read_archive_signal, const SyncUnion *union_engine) |
|
| SyncItem (const std::string &relative_parent_path, const std::string &filename, const SyncUnion *union_engine, const SyncItemType entry_type) |
|
platform_stat64 | GetUnionStat () const |
|
SyncItemType | GetRdOnlyFiletype () const |
|
SyncItemType | GetUnionFiletype () const |
|
bool | WasType (const SyncItemType expected_type) const |
|
SyncItemType | GetGenericFiletype (const EntryStat &stat) const |
|
void | CheckMarkerFiles () |
|
Definition at line 21 of file sync_item_tar.h.
publish::SyncItemTar::SyncItemTar |
( |
const std::string & |
relative_parent_path, |
|
|
const std::string & |
filename, |
|
|
struct archive * |
archive, |
|
|
struct archive_entry * |
entry, |
|
|
Signal * |
read_archive_signal, |
|
|
const SyncUnion * |
union_engine, |
|
|
const uid_t |
uid, |
|
|
const gid_t |
gid |
|
) |
| |
|
protected |
publish::SyncItemTar::SyncItemTar |
( |
const std::string & |
relative_parent_path, |
|
|
const std::string & |
filename, |
|
|
struct archive * |
archive, |
|
|
struct archive_entry * |
entry, |
|
|
Signal * |
read_archive_signal, |
|
|
const SyncUnion * |
union_engine |
|
) |
| |
|
protected |
Generates a DirectoryEntry that can be directly stored into a catalog db. Note: this sets the inode fields to kInvalidInode as well as the link count to 1 if MaskHardlink() has been called before (cf. OverlayFS)
If nanosecond timestamps are off, the directory entry will have a default initialized, negative nanosecond timestamp and as a result the corresponding field in the catalog table will be NULL.
- Returns
- a DirectoryEntry structure to be written into a catalog
Implements publish::SyncItem.
Definition at line 139 of file sync_item_tar.cc.
SyncItemType publish::SyncItemTar::GetScratchFiletype |
( |
| ) |
const |
|
virtual |
bool publish::SyncItemTar::IsType |
( |
const SyncItemType |
expected_type | ) |
const |
|
virtual |
Checks if the SyncItem is the given file type (file, dir, symlink, ...) in the union file system volume. Hence: After the publish operation, the file will be this type in CVMFS.
- Parameters
-
expected_type | the file type to be checked against |
- Returns
- true if file type matches the expected type
Implements publish::SyncItem.
Definition at line 93 of file sync_item_tar.cc.
virtual void publish::SyncItemTar::MakePlaceholderDirectory |
( |
| ) |
const |
|
inlinevirtual |
void publish::SyncItemTar::StatScratch |
( |
const bool |
refresh | ) |
const |
|
virtual |
struct archive* publish::SyncItemTar::archive_ |
|
private |
struct archive_entry* publish::SyncItemTar::archive_entry_ |
|
private |
const gid_t publish::SyncItemTar::gid_ |
|
private |
bool publish::SyncItemTar::obtained_tar_stat_ |
|
mutableprivate |
Signal* publish::SyncItemTar::read_archive_signal_ |
|
private |
const uid_t publish::SyncItemTar::uid_ |
|
private |
The documentation for this class was generated from the following files:
- /home/sftnight/jenkins/workspace/CvmfsDoxygen/label/docker-x86_64/cvmfs/cvmfs/sync_item_tar.h
- /home/sftnight/jenkins/workspace/CvmfsDoxygen/label/docker-x86_64/cvmfs/cvmfs/sync_item_tar.cc