| 46 | } |
| 47 | |
| 48 | bool CFileCollection::ExtractTimestamp(const char *pTimestring, time_t *pTimestamp) |
| 49 | { |
| 50 | // Discard anything after timestamp length from pTimestring (most likely the extension) |
| 51 | char aStrippedTimestring[TIMESTAMP_LENGTH]; |
| 52 | str_copy(aStrippedTimestring, pTimestring); |
| 53 | return timestamp_from_str(aStrippedTimestring, FORMAT_NOSPACE, pTimestamp); |
| 54 | } |
| 55 | |
| 56 | bool CFileCollection::ParseFilename(const char *pFilename, time_t *pTimestamp) |
| 57 | { |
nothing calls this directly
no test coverage detected