MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / unixFileJoin

Function unixFileJoin

source/utility/tileset_updater.cpp:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9int const Indentation = 2;
10
11String unixFileJoin(String const& dirname, String const& filename) {
12 return (dirname.trimEnd("\\/") + '/' + filename.trimBeg("\\/")).replace("\\", "/");
13}
14
15TileDatabase::TileDatabase(String const& name) : m_name(name) {}
16

Callers 7

exportTilesetMethod · 0.85
imageExportDirNameFunction · 0.85
imageFileReferenceMethod · 0.85
tileImageReferenceMethod · 0.85
exportTilesetImagesMethod · 0.85
defineAssetSourceMethod · 0.85
exportTilesetsMethod · 0.85

Calls 3

trimEndMethod · 0.80
trimBegMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected