17 lines
418 B
C
17 lines
418 B
C
#pragma once
|
|
|
|
#include <LittleFS.h>
|
|
|
|
// some usefull wrappers for Filesystem
|
|
bool mount_fs();
|
|
bool format_fs();
|
|
|
|
File open(const char * path);
|
|
|
|
void ls(const char * dirname);
|
|
void printFile(const char * path);
|
|
void writeFile(const char * path, const char * message);
|
|
void appendFile(const char * path, const char * message);
|
|
void renameFile(const char * path1, const char * path2);
|
|
void deleteFile(const char * path);
|