23void path_init(
const string &path =
"",
const string &user_path =
"");
24string path_get(
const string &sub =
"");
31string path_join(
const string &dir,
const string &file);
46FILE *
path_fopen(
const string &path,
const string &mode);
70 const size_t max_old_kernel_of_same_type = 5);
#define CCL_NAMESPACE_END
size_t path_file_size(const string &path)
bool path_read_compressed_binary(const string &path, vector< uint8_t > &binary)
bool path_is_directory(const string &path)
FILE * path_fopen(const string &path, const string &mode)
string path_dirname(const string &path)
string path_get(const string &sub="")
string path_source_replace_includes(const string &source, const string &path)
string path_files_md5_hash(const string &dir)
bool path_is_relative(const string &path)
uint64_t path_modified_time(const string &path)
string path_join(const string &dir, const string &file)
void path_cache_kernel_mark_added_and_clear_old(const string &path, const size_t max_old_kernel_of_same_type=5)
bool path_exists(const string &path)
bool path_cache_kernel_exists_and_mark_used(const string &path)
string path_user_get(const string &sub="")
string path_escape(const string &path)
bool path_write_binary(const string &path, const vector< uint8_t > &binary)
bool path_write_text(const string &path, string &text)
bool path_read_text(const string &path, string &text)
bool path_read_compressed_text(const string &path, string &text)
void path_create_directories(const string &path)
string path_filename(const string &path)
CCL_NAMESPACE_BEGIN void path_init(const string &path="", const string &user_path="")
string path_cache_get(const string &sub="")
bool path_remove(const string &path)
bool path_read_binary(const string &path, vector< uint8_t > &binary)
unsigned __int64 uint64_t