37#include "blocxx/BLOCXX_config.h"
46 return gid == 0 ||
gid == 3 ;
47#elif defined(BLOCXX_DARWIN)
48 return gid == 0 ||
gid == 80 ;
96 return path.startsWith(
"/") ?
true :
false;
This String class is an abstract data type that represents as NULL terminated string of characters.
EFileStatusReturn getFileStatus(struct stat const &x, uid_t uid, bool is_full_path, const String &path)
GetFileStatus() - just to unify the call of file_ok() for Win and xNix.
EFileStatusReturn file_ok(struct stat const &x, ::uid_t uid, bool full_path)
bool operator==(const Array< T > &x, const Array< T > &y)
bool group_ok(::gid_t gid)
bool check_grp_oth(struct stat const &x)
BLOCXX_COMMON_API bool isPathAbsolute(String const &path)