MCPcopy Create free account
hub / github.com/FastLED/FastLED / ~SdFatFileHandle

Method ~SdFatFileHandle

src/platforms/fs_sdcard_arduino.hpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36public:
37 SdFatFileHandle(SdFile file, const char* path) : _file(fl::move(file)), _path(path) {}
38 ~SdFatFileHandle() override {
39 if (_file.isOpen()) {
40 _file.close();
41 }
42 }
43
44 bool is_open() const FL_NOEXCEPT override {
45 return _file.isOpen();

Callers

nothing calls this directly

Calls 2

isOpenMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected