rename nffs existed() to exists()

This commit is contained in:
hathach committed 2017-03-01 14:34:30 +07:00
1 parent 789f76fab2
commit 1abc60fc1b
9 files changed
+16 -8

No files matched your search

+2 -2
View File
@@ -91,7 +91,7 @@ bool NffsDir::close(void)
return (errnum == FS_EOK);
}
bool NffsDir::existed(void)
bool NffsDir::exists(void)
{
return (_dir != NULL);
}
@@ -109,5 +109,5 @@ bool NffsDir::read(NffsDirEntry* entry)
{
*entry = read();
return entry->existed();
return entry->exists();
}