MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / RemoveFile

Method RemoveFile

neo/framework/FileSystem.cpp:942–954  ·  view source on GitHub ↗

================= idFileSystemLocal::RemoveFile ================= */

Source from the content-addressed store, hash-verified

940=================
941*/
942void idFileSystemLocal::RemoveFile( const char *relativePath ) {
943 idStr OSPath;
944
945 if ( fs_devpath.GetString()[0] ) {
946 OSPath = BuildOSPath( fs_devpath.GetString(), gameFolder, relativePath );
947 remove( OSPath );
948 }
949
950 OSPath = BuildOSPath( fs_savepath.GetString(), gameFolder, relativePath );
951 remove( OSPath );
952
953 ClearDirCache();
954}
955
956/*
957================

Callers 4

DmapFunction · 0.80
HandleDownloadsMethod · 0.80
AVICloseMethod · 0.80

Calls 1

GetStringMethod · 0.45

Tested by

no test coverage detected