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

Function getFullPath

Engine/StandardPaths.cpp:276–286  ·  view source on GitHub ↗

Constructs a full unicode path from a FSRef. */

Source from the content-addressed store, hash-verified

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

Callers 1

macLocationFunction · 0.85

Calls 4

QStringClass · 0.70
dataMethod · 0.45
sizeMethod · 0.45
normalizedMethod · 0.45

Tested by

no test coverage detected