MCPcopy Create free account
hub / github.com/MrKepzie/Natron / getFullPath

Function getFullPath

Engine/StandardPaths.cpp:274–284  ·  view source on GitHub ↗

Constructs a full unicode path from a FSRef. */

Source from the content-addressed store, hash-verified

272 Constructs a full unicode path from a FSRef.
273 */
274static QString
275getFullPath(const FSRef &ref)
276{
277 QByteArray ba(2048, 0);
278
279 if (FSRefMakePath( &ref, reinterpret_cast<UInt8 *>( ba.data() ), ba.size() ) == noErr) {
280 return QString::fromUtf8( ba.constData() ).normalized(QString::NormalizationForm_C);
281 }
282
283 return QString();
284}
285
286
287static QString

Callers 1

macLocationFunction · 0.85

Calls 4

QStringClass · 0.85
dataMethod · 0.45
sizeMethod · 0.45
normalizedMethod · 0.45

Tested by

no test coverage detected