MCPcopy Create free account
hub / github.com/SmingHub/Sming / fenumxattr

Method fenumxattr

Sming/Libraries/Spiffs/src/FileSystem.cpp:610–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610int FileSystem::fenumxattr(FileHandle file, AttributeEnumCallback callback, void* buffer, size_t bufsize)
611{
612 CHECK_MOUNTED()
613
614 auto smb = getMetaBuffer(file);
615 if(smb == nullptr) {
616 return Error::InvalidHandle;
617 }
618
619 return smb->enumxattr(callback, buffer, bufsize);
620}
621
622int FileSystem::setxattr(const char* path, AttributeTag tag, const void* data, size_t size)
623{

Callers

nothing calls this directly

Calls 1

enumxattrMethod · 0.80

Tested by

no test coverage detected