MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / filepath

Method filepath

Telegram/SourceFiles/data/data_document.cpp:1435–1439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1433}
1434
1435QString DocumentData::filepath(bool check) const {
1436 return (check && _location.name().isEmpty())
1437 ? QString()
1438 : location(check).name();
1439}
1440
1441bool DocumentData::saveFromData() {
1442 return !filepath(true).isEmpty() || saveFromDataChecked();

Callers 15

downloadMediaMethod · 0.80
showInFolderMethod · 0.80
copyMediaMethod · 0.80
SessionControllerMethod · 0.80
openDocumentMethod · 0.80
backgroundDataMethod · 0.80
setupLottieMethod · 0.80
ShowSentToastFunction · 0.80

Calls 3

QStringClass · 0.50
isEmptyMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected