We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4098c53 commit ce8c7e9Copy full SHA for ce8c7e9
libraries/LittleFS/src/LittleFS.cpp
@@ -33,16 +33,10 @@ class LittleFSImpl : public VFSImpl {
33
public:
34
LittleFSImpl();
35
virtual ~LittleFSImpl() {}
36
- virtual bool exists(const char *path);
37
};
38
39
LittleFSImpl::LittleFSImpl() {}
40
41
-bool LittleFSImpl::exists(const char *path) {
42
- File f = open(path, "r", false);
43
- return (f == true);
44
-}
45
-
46
LittleFSFS::LittleFSFS() : FS(FSImplPtr(new LittleFSImpl())), partitionLabel_(NULL) {}
47
48
LittleFSFS::~LittleFSFS() {
0 commit comments