MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getUniqueFileId

Function getUniqueFileId

src/common/os/posix/os_utils.cpp:415–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413
414
415void getUniqueFileId(int fd, UCharBuffer& id)
416{
417 struct STAT statistics;
418 if (os_utils::fstat(fd, &statistics) != 0)
419 system_call_failed::raise("fstat");
420
421 makeUniqueFileId(statistics, id);
422}
423
424
425void getUniqueFileId(const char* name, UCharBuffer& id)

Callers 8

CLIB_ROUTINE mainFunction · 0.50
createDatabaseMethod · 0.50
initAttachmentFunction · 0.50
Database.cppFile · 0.50
initGlobalObjectsMethod · 0.50
loadConfigMethod · 0.50
expandDatabaseNameFunction · 0.50
notifyDatabaseNameFunction · 0.50

Calls 5

fstatFunction · 0.85
raiseFunction · 0.85
makeUniqueFileIdFunction · 0.85
statClass · 0.70
clearMethod · 0.45

Tested by

no test coverage detected