4 #ifndef CVMFS_SHRINKWRAP_SPEC_TREE_H_
5 #define CVMFS_SHRINKWRAP_SPEC_TREE_H_
20 for (std::map<std::string, SpecTreeNode*>::iterator it =
nodes_.begin();
27 int GetListing(std::string base_path,
char ***buf,
size_t *len);
44 std::map<std::string, SpecTreeNode*>
nodes_;
81 void Open(
const std::string &path);
82 void Parse(FILE *spec_file);
89 #endif // CVMFS_SHRINKWRAP_SPEC_TREE_H_
static SpecTree * Create(const std::string &path)
void Open(const std::string &path)
int GetListing(std::string base_path, char ***buf, size_t *len)
SpecTree(const SpecTree &tree)
SpecTreeNode * GetNode(const std::string &name)
std::map< std::string, SpecTreeNode * > nodes_
void Parse(FILE *spec_file)
bool IsMatching(std::string path)
void AddNode(const std::string &name, SpecTreeNode *node)
int ListDir(const char *dir, char ***buf, size_t *len)
SpecTreeNode(char modeParam)