15 #ifndef RCUTILS__FILESYSTEM_H_ 16 #define RCUTILS__FILESYSTEM_H_ 125 const char * left_hand_path,
126 const char * right_hand_path,
133 #endif // RCUTILS__FILESYSTEM_H_ bool rcutils_is_readable(const char *abs_path)
Check if the provided path points to a file/folder readable by current user.
bool rcutils_is_readable_and_writable(const char *abs_path)
Check if the provided path points to a file/folder both readable and writable by current user...
bool rcutils_exists(const char *abs_path)
Check if the provided path points to an existing file/folder.
bool rcutils_is_writable(const char *abs_path)
Check if the provided path points to a file/folder writable by current user.
char * rcutils_join_path(const char *left_hand_path, const char *right_hand_path, rcutils_allocator_t allocator)
Return newly allocated string with arguments separated by correct delimiter for the platform...
Encapsulation of an allocator.
Definition: allocator.h:45
bool rcutils_is_directory(const char *abs_path)
Check if the provided path points to a directory.
bool rcutils_get_cwd(char *buffer, size_t max_length)
Return current working directory.
#define RCUTILS_WARN_UNUSED
Definition: macros.h:24
#define RCUTILS_PUBLIC
Definition: visibility_control.h:48
bool rcutils_is_file(const char *abs_path)
Check if the provided path points to a file.