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

Method subPath

src/common/config/dir_list.cpp:73–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73PathName ParsedPath::subPath(FB_SIZE_T n) const
74{
75 PathName rc;
76#ifndef WIN_NT
77 // Code in DirectoryList::initialize() ensured that the path is absolute
78 rc = PathUtils::dir_sep;
79#endif
80 for (FB_SIZE_T i = 0; i < n; i++)
81 {
82 PathName newpath;
83 PathUtils::concatPath(newpath, rc, (*this)[i]);
84 rc = newpath;
85 }
86
87 return rc;
88}
89
90ParsedPath::operator PathName() const
91{

Callers 1

containsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected