MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / _BuildFileName

Function _BuildFileName

Engine/source/platformWin32/winVolume.cpp:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84//-----------------------------------------------------------------------------
85
86static String _BuildFileName(const String& prefix,const Path& path)
87{
88 // Need to join the path (minus the root) with our
89 // internal path name.
90 String file = prefix;
91 file = Path::Join(file, '/', path.getPath());
92 file = Path::Join(file, '/', path.getFileName());
93 file = Path::Join(file, '.', path.getExtension());
94 return file;
95}
96
97/*
98static bool _IsFile(const String& file)

Callers 5

resolveMethod · 0.85
createMethod · 0.85
removeMethod · 0.85
renameMethod · 0.85
mapToMethod · 0.85

Calls 3

getFileNameMethod · 0.80
getPathMethod · 0.45
getExtensionMethod · 0.45

Tested by

no test coverage detected