MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rm

Function rm

components/dfs/dfs_v1/src/dfs_file.c:858–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856FINSH_FUNCTION_EXPORT(ls, list directory contents);
857
858void rm(const char *filename)
859{
860 if (dfs_file_unlink(filename) < 0)
861 {
862 rt_kprintf("Delete %s failed\n", filename);
863 }
864}
865FINSH_FUNCTION_EXPORT(rm, remove files or directories);
866
867void cat(const char *filename)

Callers

nothing calls this directly

Calls 2

rt_kprintfFunction · 0.85
dfs_file_unlinkFunction · 0.70

Tested by

no test coverage detected