MCPcopy Create free account
hub / github.com/cppla/ServerStatus / fs_chdir

Function fs_chdir

server/src/system.c:1426–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424}
1425
1426int fs_chdir(const char *path)
1427{
1428 if(fs_is_dir(path))
1429 {
1430 if(chdir(path))
1431 return 1;
1432 else
1433 return 0;
1434 }
1435 else
1436 return 1;
1437}
1438
1439char *fs_getcwd(char *buffer, int buffer_size)
1440{

Callers

nothing calls this directly

Calls 1

fs_is_dirFunction · 0.85

Tested by

no test coverage detected