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

Method Sync

src/filesystem/fatfs/fatfs.cpp:177–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177auto FatFsFileSystem::Sync() -> Expected<void> {
178 auto* dev = GetBlockDevice(volume_id_);
179 if (dev != nullptr) {
180 return dev->Flush();
181 }
182 return {};
183}
184
185auto FatFsFileSystem::AllocateInode() -> Expected<vfs::Inode*> {
186 FatInode* fi = AllocateFatInode();

Callers

nothing calls this directly

Calls 1

FlushMethod · 0.80

Tested by

no test coverage detected