MCPcopy Create free account
hub / github.com/Genivia/ugrep / modified_time

Method modified_time

src/ugrep.cpp:1946–1950  ·  view source on GitHub ↗

get modification time (micro seconds) from directory entry

Source from the content-addressed store, hash-verified

1944
1945 // get modification time (micro seconds) from directory entry
1946 static uint64_t modified_time(const WIN32_FIND_DATAW& ffd)
1947 {
1948 const struct _FILETIME& time = ffd.ftLastWriteTime;
1949 return static_cast<uint64_t>(time.dwLowDateTime) | (static_cast<uint64_t>(time.dwHighDateTime) << 32);
1950 }
1951
1952 // get modification time (micro seconds) from file handle
1953 static int64_t modified_time(const HANDLE& hFile)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected