MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / FreeFil

Method FreeFil

src/filesystem/fatfs/fatfs.cpp:235–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235auto FatFsFileSystem::FreeFil(FIL* fil) -> void {
236 for (auto& fh : fil_pool_) {
237 if (&fh.fil == fil) {
238 fh.in_use = false;
239 return;
240 }
241 }
242}
243
244auto FatFsFileSystem::AllocateDir() -> DIR* {
245 for (auto& dh : dir_pool_) {

Callers 1

CloseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected