MCPcopy Create free account
hub / github.com/ararog/Unrar4iOS / GetOpenFileTime

Method GetOpenFileTime

Unrar4iOS/unrar/file.cpp:598–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596
597
598void File::GetOpenFileTime(RarTime *ft)
599{
600#ifdef _WIN_ALL
601 FILETIME FileTime;
602 GetFileTime(hFile,NULL,NULL,&FileTime);
603 *ft=FileTime;
604#endif
605#if defined(_UNIX) || defined(_EMX)
606 struct stat st;
607 fstat(fileno(hFile),&st);
608 *ft=st.st_mtime;
609#endif
610}
611
612
613int64 File::FileLength()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected