KolibriLib
Loading...
Searching...
No Matches
KolibriLib::filesystem Namespace Reference

Работа с файлами More...

Functions

int CreateFile (const char *name)
 Создать файл
 
int CreateFile (const char *name, char *path)
 Создать файл
 
int CreateFile (std::string name)
 Создать файл
 
int CreateFile (std::string name, std::string path)
 Создать файл
 
int Delete (const char *name)
 удалить файл или папку
 
int Delete (const char *name, char *path)
 удалить файл или папку
 
int Delete (std::string name)
 удалить файл или папку
 
int Delete (std::string name, std::string path)
 удалить файл или папку
 
int mkdir (const char *path)
 Создать папку
 
int mkdir (std::string path)
 Создать папку
 
bool Exist (std::string Path)
 проверяет существует ли файл или папки
 
int Rename (std::string OldName, std::string NewName)
 

Detailed Description

Работа с файлами

просто чекбокс, ему можно задать различные стили

Function Documentation

◆ CreateFile() [1/4]

int KolibriLib::filesystem::CreateFile ( const char * name)

Создать файл

Parameters
nameполный путь до файла
Returns

◆ CreateFile() [2/4]

int KolibriLib::filesystem::CreateFile ( const char * name,
char * path )

Создать файл

Parameters
nameимя файла
pathпуть до файла
Returns

◆ CreateFile() [3/4]

int KolibriLib::filesystem::CreateFile ( std::string name)

Создать файл

Parameters
nameимя файла
Returns

◆ CreateFile() [4/4]

int KolibriLib::filesystem::CreateFile ( std::string name,
std::string path )

Создать файл

Parameters
nameимя файла
pathпуть до файла
Returns

◆ Delete() [1/4]

int KolibriLib::filesystem::Delete ( const char * name)

удалить файл или папку

Parameters
nameполный путь до файла
Returns

◆ Delete() [2/4]

int KolibriLib::filesystem::Delete ( const char * name,
char * path )

удалить файл или папку

Parameters
nameимя файла
pathпуть до файла
Returns

◆ Delete() [3/4]

int KolibriLib::filesystem::Delete ( std::string name)

удалить файл или папку

Parameters
nameимя файла
Returns

◆ Delete() [4/4]

int KolibriLib::filesystem::Delete ( std::string name,
std::string path )

удалить файл или папку

Parameters
nameимя файла
pathпуть до файла
Returns

◆ Exist()

bool KolibriLib::filesystem::Exist ( std::string Path)

проверяет существует ли файл или папки

Parameters
путьдо файла/папки
Returns
true если файл или папка существует, иначе false

◆ mkdir() [1/2]

int KolibriLib::filesystem::mkdir ( const char * path)

Создать папку

Parameters
pathпуть
Returns

◆ mkdir() [2/2]

int KolibriLib::filesystem::mkdir ( std::string path)

Создать папку

Parameters
pathпуть
Returns