MCPcopy Create free account
hub / github.com/OpenGene/fastp / joinpath

Function joinpath

src/util.h:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144inline string joinpath(const string& dirname, const string& basename){
145 if(dirname[dirname.length()-1] == '/'){
146 return dirname + basename;
147 } else {
148 return dirname + "/" + basename;
149 }
150}
151
152//Check if a string is a file or directory
153inline bool file_exists(const string& s)

Callers 1

initWriterForSplitMethod · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected