CernVM-FS
2.12.0
|
#include <repository_tag.h>
Public Member Functions | |
RepositoryTag () | |
RepositoryTag (const std::string &name, const std::string &description) | |
void | SetName (const std::string &name) |
void | SetDescription (const std::string &description) |
bool | HasGenericName () |
void | SetGenericName () |
std::string | name () const |
std::string | description () const |
Private Attributes | |
std::string | name_ |
std::string | description_ |
This file is part of the CernVM File System.
Definition at line 10 of file repository_tag.h.
|
inline |
Definition at line 12 of file repository_tag.h.
RepositoryTag::RepositoryTag | ( | const std::string & | name, |
const std::string & | description | ||
) |
This file is part of the CernVM File System.
Definition at line 10 of file repository_tag.cc.
|
inline |
Definition at line 27 of file repository_tag.h.
Referenced by upload::SessionContext::Commit(), anonymous_namespace{commit_processor.cc}::CreateNewTag(), receiver::CommitProcessor::Process(), and SetDescription().
bool RepositoryTag::HasGenericName | ( | ) |
Check if tag name is of the form "generic-*"
Definition at line 19 of file repository_tag.cc.
Referenced by receiver::CommitProcessor::Process().
|
inline |
Definition at line 26 of file repository_tag.h.
Referenced by upload::SessionContext::Commit(), anonymous_namespace{commit_processor.cc}::CreateNewTag(), receiver::CommitProcessor::Process(), and SetName().
|
inline |
Definition at line 19 of file repository_tag.h.
Referenced by swissknife::CommandSync::Main().
void RepositoryTag::SetGenericName | ( | ) |
Set a generic tag name of the form "generic-YYYY-MM-DDThh:mm:ss.sssZ"
Definition at line 26 of file repository_tag.cc.
Referenced by receiver::CommitProcessor::Process().
|
inline |
Definition at line 16 of file repository_tag.h.
Referenced by swissknife::CommandSync::Main().
|
private |
Definition at line 31 of file repository_tag.h.
Referenced by description(), and SetDescription().
|
private |
Definition at line 30 of file repository_tag.h.
Referenced by HasGenericName(), name(), SetGenericName(), and SetName().