| 1448 | } |
| 1449 | |
| 1450 | int fs_parent_dir(char *path) |
| 1451 | { |
| 1452 | char *parent = 0; |
| 1453 | for(; *path; ++path) |
| 1454 | { |
| 1455 | if(*path == '/' || *path == '\\') |
| 1456 | parent = path; |
| 1457 | } |
| 1458 | |
| 1459 | if(parent) |
| 1460 | { |
| 1461 | *parent = 0; |
| 1462 | return 0; |
| 1463 | } |
| 1464 | return 1; |
| 1465 | } |
| 1466 | |
| 1467 | int fs_remove(const char *filename) |
| 1468 | { |
nothing calls this directly
no outgoing calls
no test coverage detected