95 return tmp.
open(
this, path, O_RDONLY);
136 return dir.
open(
this, path, O_RDONLY) && dir.
ls(pr, flags);
149 return sub.
mkdir(
vwd(), path, pFlag);
160 tmpFile.
open(
this, path, oflag);
172 return tmp.
open(
this, path, O_WRONLY) && tmp.
remove();
204 return sub.
open(
this, path, O_RDONLY) && sub.
rmdir();
217 if (!file.
open(
this, path, O_WRONLY))
223#if ENABLE_ARDUINO_SERIAL
244 bool ls(uint8_t flags)
246 return ls(&Serial, flags);
264 return ls(&Serial, path, flags);
267#if ENABLE_ARDUINO_STRING
275 return chdir(path.c_str());
285 return exists(path.c_str());
295 bool mkdir(
const String &path,
bool pFlag =
true)
297 return mkdir(path.c_str(), pFlag);
307 return open(path.c_str(), oflag);
317 return remove(path.c_str());
333 bool rename(
const String &oldPath,
const String &newPath)
335 return rename(oldPath.c_str(), newPath.c_str());
347 return rmdir(path.c_str());
359 return truncate(path.c_str(), length);
363#if USE_EXFAT_UNICODE_NAMES
366 bool mkdir(
const char *path,
bool pFlag =
true);
368 bool rename(
const char *oldPath,
const char *newPath);
ExFatPartition include file.
ExChar16_t ExChar_t
Definition ExFatTypes.h:39
int oflag_t
Definition FsApiConstants.h:45
Print print_t
Definition SysCall.h:66
BlockDeviceInterface class.
Definition BlockDeviceInterface.h:39
Basic file class.
Definition ExFatFile.h:95
bool rmdir()
Definition ExFatFileWrite.cpp:411
bool mkdir(ExFatFile *parent, const ExChar_t *path, bool pFlag=true)
Definition ExFatFileWrite.cpp:32
bool close()
Definition ExFatFile.cpp:31
bool remove()
Definition ExFatFileWrite.cpp:307
bool ls(print_t *pr)
Definition ExFatFilePrint.cpp:31
bool rename(const ExChar_t *newPath)
Definition ExFatFileWrite.cpp:44
bool truncate()
Definition ExFatFileWrite.cpp:59
bool open(ExFatFile *dirFile, const ExChar_t *path, oflag_t oflag)
Definition ExFatFile.cpp:215
bool openRoot(ExFatVolume *vol)
Definition ExFatFile.cpp:612
Access exFat partitions on raw file devices.
Definition ExFatPartition.h:47
bool init(BlockDevice *dev, uint8_t part)
Definition ExFatPartition.cpp:326
exFAT volume.
Definition ExFatVolume.h:35
bool mkdir(const String &path, bool pFlag=true)
Definition ExFatVolume.h:295
bool rename(const String &oldPath, const String &newPath)
Definition ExFatVolume.h:333
friend ExFatFile
Definition ExFatVolume.h:373
ExFile open(const String &path, oflag_t oflag=O_RDONLY)
Definition ExFatVolume.h:305
ExFatFile * vwd()
Definition ExFatVolume.h:378
static ExFatVolume * m_cwv
Definition ExFatVolume.h:382
bool mkdir(const ExChar_t *path, bool pFlag=true)
Definition ExFatVolume.h:146
ExFatFile m_vwd
Definition ExFatVolume.h:383
bool remove(const ExChar_t *path)
Definition ExFatVolume.h:169
bool exists(const char *path)
bool rename(const char *oldPath, const char *newPath)
void chvol()
Definition ExFatVolume.h:80
bool exists(const ExChar_t *path)
Definition ExFatVolume.h:92
bool rename(const ExChar_t *oldPath, const ExChar_t *newPath)
Definition ExFatVolume.h:188
ExFile open(const ExChar_t *path, oflag_t oflag=O_RDONLY)
Definition ExFatVolume.h:157
bool ls(print_t *pr, const ExChar_t *path, uint8_t flags)
Definition ExFatVolume.h:133
bool rmdir(const ExChar_t *path)
Definition ExFatVolume.h:201
bool mkdir(const char *path, bool pFlag=true)
bool chdir()
Definition ExFatVolume.h:67
bool ls(print_t *pr, uint8_t flags=0)
Definition ExFatVolume.h:113
bool ls()
Definition ExFatVolume.h:228
bool remove(const char *path)
static ExFatVolume * cwv()
Definition ExFatVolume.h:374
bool ls(const ExChar_t *path, uint8_t flags=0)
Definition ExFatVolume.h:262
bool remove(const String &path)
Definition ExFatVolume.h:315
bool begin(BlockDevice *dev, bool setCwv=true, uint8_t part=1)
Definition ExFatVolume.h:47
ExFatVolume()
Definition ExFatVolume.h:37
bool truncate(const ExChar_t *path, uint64_t length)
Definition ExFatVolume.h:214
bool truncate(const String &path, uint64_t length)
Definition ExFatVolume.h:357
bool ls(uint8_t flags)
Definition ExFatVolume.h:244
bool rmdir(const String &path)
Definition ExFatVolume.h:345
bool exists(const String &path)
Definition ExFatVolume.h:283
bool rmdir(const char *path)
bool chdir(const String &path)
Definition ExFatVolume.h:273
exFAT file with Arduino Stream.
Definition ExFatFile.h:895