MCPcopy Create free account
hub / github.com/audacity/audacity / shellDeleteFile

Function shellDeleteFile

lib-src/sqlite/shell.c:15766–15776  ·  view source on GitHub ↗

** Delete a file. */

Source from the content-addressed store, hash-verified

15764** Delete a file.
15765*/
15766int shellDeleteFile(const char *zFilename){
15767 int rc;
15768#ifdef _WIN32
15769 wchar_t *z = sqlite3_win32_utf8_to_unicode(zFilename);
15770 rc = _wunlink(z);
15771 sqlite3_free(z);
15772#else
15773 rc = unlink(zFilename);
15774#endif
15775 return rc;
15776}
15777
15778/*
15779** Try to delete the temporary file (if there is one) and free the

Callers 2

clearTempFileFunction · 0.85
do_meta_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected