mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 03:49:13 +03:00
renaming
This commit is contained in:
@@ -20,37 +20,37 @@ bool fileSystemInit();
|
||||
/*
|
||||
* Удалить файл
|
||||
*/
|
||||
void removeFile(const String filename);
|
||||
void removeFile(const String& filename);
|
||||
|
||||
/*
|
||||
* Открыть файл на позиции
|
||||
*/
|
||||
File seekFile(const String filename, size_t position = 0);
|
||||
File seekFile(const String& filename, size_t position = 0);
|
||||
|
||||
/*
|
||||
* Чтение строки из файла
|
||||
* возвращает стоку из файла в которой есть искомое слово found
|
||||
*/
|
||||
String readFileString(const String filename, const String to_find);
|
||||
const String readFileString(const String& filename, const String& to_find);
|
||||
|
||||
/*
|
||||
* Добовление строки в файл
|
||||
*/
|
||||
String addFile(const String filename, const String str);
|
||||
const String addFile(const String& filename, const String& str);
|
||||
|
||||
/*
|
||||
* Запись строки в файл
|
||||
*/
|
||||
String writeFile(const String filename, const String str);
|
||||
const String writeFile(const String& filename, const String& str);
|
||||
|
||||
/*
|
||||
* Чтение файла в строку
|
||||
*/
|
||||
String readFile(const String filename, size_t max_size);
|
||||
const String readFile(const String& filename, size_t max_size);
|
||||
|
||||
/*
|
||||
* Размер файла
|
||||
*/
|
||||
String getFileSize(const String filename);
|
||||
const String getFileSize(const String& filename);
|
||||
|
||||
bool copyFile(const String src, const String dst, bool overwrite = true);
|
||||
bool copyFile(const String& src, const String& dst, bool overwrite = true);
|
||||
Reference in New Issue
Block a user