13 #ifndef WS_DIR_NODE_H__
14 #define WS_DIR_NODE_H__
32 WsDirNode(
const path& fullPath,
const path& rootPath);
40 bool isAllowed(
const std::set<string>& gids);
std::vector< std::string > getResource(ResourceType t, bool recurse=false)
get the resource of a node Not implemented yet
Reprensents a Directory on disk.
bool isDirectory()
return true
Represents a node on disk.
bool isAllowed(const std::set< string > &gids)
return true if one of the groups contained in gids has access to the node false otherwise If the node...
Node structure, must be inherited.
bool getDisplayInParent()
set< string > getGroups()
returns the list of the groups allowed to access this node
WsNodeResources * m_resources
void setResources(WsNodeResources *resources)
const uintmax_t getSize()
returns the file size. If the Node is a WsDirNode, 0 is returned. if the global property dir_size is ...
bool isRegularFile()
return false