MCPcopy Create free account
hub / github.com/codestation/qcma / getAbsolutePath

Method getAbsolutePath

common/sqlitedb.cpp:1021–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1019}
1020
1021QString SQLiteDB::getAbsolutePath(int ohfi)
1022{
1023 int root_ohfi = ohfi < OHFI_BASE_VALUE ? ohfi : getRootId(ohfi);
1024 QString base_path = getBasePath(root_ohfi);
1025 QString rel_path = getRelativePath(ohfi);
1026 return rel_path.isNull() ? base_path : base_path + "/" + rel_path;
1027}
1028
1029QString SQLiteDB::getRelativePath(int ohfi)
1030{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected