MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / fs_delete

Function fs_delete

tinyemu/fs_disk.c:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60static void fs_delete(FSDevice *fs, FSFile *f)
61{
62 if (f->is_opened)
63 fs_close(fs, f);
64 free(f->path);
65 free(f);
66}
67
68/* warning: path belong to fid_create() */
69static FSFile *fid_create(FSDevice *s1, char *path, uint32_t uid)

Callers

nothing calls this directly

Calls 1

fs_closeFunction · 0.70

Tested by

no test coverage detected