| 423 | } |
| 424 | |
| 425 | int Littlefs1FileSystem::remove(const char* const path) |
| 426 | { |
| 427 | const std::lock_guard<Littlefs1FileSystem> lockGuard {*this}; |
| 428 | |
| 429 | assert(mounted_ == true); |
| 430 | assert(path != nullptr); |
| 431 | |
| 432 | const auto ret = lfs1_remove(&fileSystem_, path); |
| 433 | return littlefs1ErrorToErrorCode(ret); |
| 434 | } |
| 435 | |
| 436 | int Littlefs1FileSystem::rename(const char* const path, const char* const newPath) |
| 437 | { |