summaryrefslogtreecommitdiff
path: root/src/components/fs/FS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/fs/FS.cpp')
-rw-r--r--src/components/fs/FS.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/fs/FS.cpp b/src/components/fs/FS.cpp
index 353193dc..d30b7373 100644
--- a/src/components/fs/FS.cpp
+++ b/src/components/fs/FS.cpp
@@ -96,6 +96,10 @@ int FS::DirCreate(const char* path) {
return lfs_mkdir(&lfs, path);
}
+int FS::Stat(const char* path, lfs_info* info){
+ return lfs_stat(&lfs,path,info);
+}
+
// Delete directory and all files inside
int FS::DirDelete(const char* path) {