plastimatch
|
#include "plmsys_config.h"
#include <fstream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <dirent.h>
#include "file_util.h"
#include "path_util.h"
Functions | |
int | is_directory (const char *dir) |
int | is_directory (const std::string &dir) |
int | file_exists (const char *filename) |
int | file_exists (const std::string &filename) |
uint64_t | file_size (const char *filename) |
void | touch_file (const std::string &filename) |
void | copy_file (const std::string &dst_fn, const std::string &src_fn) |
void | make_directory (const char *dirname) |
void | make_directory (const std::string &dirname) |
void | make_parent_directories (const char *filename) |
void | make_parent_directories (const std::string &filename) |
void | make_directory_recursive (const std::string &dirname) |
FILE * | plm_fopen (const char *path, const char *mode) |
FILE * | plm_fopen (const std::string &path, const char *mode) |
FILE * | make_tempfile (void) |
char * | plm_getcwd (char *s, int len) |
int | plm_chdir (char *s) |
void copy_file | ( | const std::string & | dst_fn, |
const std::string & | src_fn ) |
int file_exists | ( | const char * | filename | ) |
int file_exists | ( | const std::string & | filename | ) |
uint64_t file_size | ( | const char * | filename | ) |
int is_directory | ( | const char * | dir | ) |
int is_directory | ( | const std::string & | dir | ) |
void make_directory | ( | const char * | dirname | ) |
void make_directory | ( | const std::string & | dirname | ) |
void make_directory_recursive | ( | const std::string & | dirname | ) |
void make_parent_directories | ( | const char * | filename | ) |
void make_parent_directories | ( | const std::string & | filename | ) |
FILE * make_tempfile | ( | void | ) |
int plm_chdir | ( | char * | s | ) |
FILE * plm_fopen | ( | const char * | path, |
const char * | mode ) |
FILE * plm_fopen | ( | const std::string & | path, |
const char * | mode ) |
char * plm_getcwd | ( | char * | s, |
int | len ) |
void touch_file | ( | const std::string & | filename | ) |