MCPcopy Create free account
hub / github.com/crawl/crawl / file_modtime

Function file_modtime

crawl-ref/source/files.cc:327–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327time_t file_modtime(const string &file)
328{
329 struct stat filestat;
330 if (stat(file.c_str(), &filestat))
331 return 0;
332
333 return filestat.st_mtime;
334}
335
336time_t file_modtime(FILE *f)
337{

Callers 4

_load_map_cacheFunction · 0.85
_parse_mapsFunction · 0.85
_needs_updateMethod · 0.85
_regenerate_dbMethod · 0.85

Calls 1

statClass · 0.70

Tested by

no test coverage detected