============ idFileSystemLocal::TouchFile_f The only purpose of this function is to allow game script files to copy arbitrary files furing an "fs_copyfiles 1" run. ============ */
| 2032 | ============ |
| 2033 | */ |
| 2034 | void idFileSystemLocal::TouchFile_f( const idCmdArgs &args ) { |
| 2035 | idFile *f; |
| 2036 | |
| 2037 | if ( args.Argc() != 2 ) { |
| 2038 | common->Printf( "Usage: touchFile <file>\n" ); |
| 2039 | return; |
| 2040 | } |
| 2041 | |
| 2042 | f = fileSystemLocal.OpenFileRead( args.Argv( 1 ) ); |
| 2043 | if ( f ) { |
| 2044 | fileSystemLocal.CloseFile( f ); |
| 2045 | } |
| 2046 | } |
| 2047 | |
| 2048 | /* |
| 2049 | ============ |
nothing calls this directly
no test coverage detected