Browse Source

Add FS rename

main
PaulStoffregen 4 years ago
parent
commit
fcf4dfde09
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      teensy/FS.h
  2. +1
    -0
      teensy3/FS.h
  3. +1
    -0
      teensy4/FS.h

+ 1
- 0
teensy/FS.h View File

virtual File open(const char *filename, uint8_t mode = FILE_READ); virtual File open(const char *filename, uint8_t mode = FILE_READ);
virtual bool exists(const char *filepath); virtual bool exists(const char *filepath);
virtual bool mkdir(const char *filepath); virtual bool mkdir(const char *filepath);
virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath); virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath); virtual bool rmdir(const char *filepath);
}; };

+ 1
- 0
teensy3/FS.h View File

virtual File open(const char *filename, uint8_t mode = FILE_READ); virtual File open(const char *filename, uint8_t mode = FILE_READ);
virtual bool exists(const char *filepath); virtual bool exists(const char *filepath);
virtual bool mkdir(const char *filepath); virtual bool mkdir(const char *filepath);
virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath); virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath); virtual bool rmdir(const char *filepath);
}; };

+ 1
- 0
teensy4/FS.h View File

virtual File open(const char *filename, uint8_t mode = FILE_READ); virtual File open(const char *filename, uint8_t mode = FILE_READ);
virtual bool exists(const char *filepath); virtual bool exists(const char *filepath);
virtual bool mkdir(const char *filepath); virtual bool mkdir(const char *filepath);
virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath); virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath); virtual bool rmdir(const char *filepath);
}; };

Loading…
Cancel
Save