4 #ifndef RUDIMENTS_DIRECTORY_H 5 #define RUDIMENTS_DIRECTORY_H 7 #include <rudiments/private/directoryincludes.h> 20 bool open(
const char *path);
42 uint64_t getChildCount();
49 char *getChildName(uint64_t index);
53 int64_t maxFileNameLength();
57 int64_t maxPathLength();
63 bool canExceedMaxFileNameLength();
66 static bool create(
const char *path, mode_t perms);
69 static bool remove(
const char *path);
76 static char *getCurrentWorkingDirectory();
79 static bool changeDirectory(
const char *path);
82 static bool changeRoot(
const char *path);
86 static int64_t maxFileNameLength(
const char *pathname);
91 static int64_t maxPathLength(
const char *pathname);
97 static bool canExceedMaxFileNameLength(
98 const char *pathname);
100 #include <rudiments/private/directory.h> Definition: directory.h:11