mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
18 lines
544 B
C
18 lines
544 B
C
#pragma once
|
|
|
|
#include "Global.h"
|
|
#include "LittleFS.h"
|
|
|
|
extern FS LittleFS;
|
|
using littlefs_impl::LittleFSConfig;
|
|
extern FS* filesystem;
|
|
#define FileFS LittleFS
|
|
#define FS_NAME "LittleFS"
|
|
|
|
extern bool fileSystemInit();
|
|
|
|
extern File seekFile(const String& filename, size_t position = 0);
|
|
extern const String writeFile(const String& filename, const String& str);
|
|
extern const String readFile(const String& filename, size_t max_size);
|
|
extern const String filepath(const String& filename);
|
|
extern bool cutFile(const String& src, const String& dst); |