Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qfilesystemengine_p.h>
Definition at line 58 of file qfilesystemengine_p.h.
|
static |
Definition at line 696 of file qfilesystemengine_unix.cpp.
References QDir::cleanPath(), currentPath(), QByteArray::isEmpty(), Q_CHECK_FILE_NAME, QByteArray::size(), and QByteArray::startsWith().
Referenced by canonicalName(), QFSFileEngine::fileName(), QFileInfoPrivate::getFileName(), getLinkTarget(), and QDirPrivate::resolveAbsoluteEntry().
|
inlinestatic |
Definition at line 88 of file qfilesystemengine_p.h.
Referenced by QFSFileEngine::fileName(), and QFileInfoPrivate::getFileName().
|
static |
Definition at line 641 of file qfilesystemengine_unix.cpp.
References absoluteName(), canonicalPath(), QDir::cleanPath(), QFile::decodeName(), QFileSystemMetaData::ExistsAttribute, fillMetaData(), PATH_MAX, ptr(), Q_ASSERT, Q_CHECK_FILE_NAME, and Q_UNUSED.
Referenced by QDir::canonicalPath(), QFSFileEngine::fileName(), and QFileInfoPrivate::getFileName().
|
static |
Definition at line 1541 of file qfilesystemengine_unix.cpp.
References error, Q_UNUSED, and QSystemError::StandardLibraryError.
Referenced by QFSFileEngine::copy().
|
static |
Definition at line 1120 of file qfilesystemengine_unix.cpp.
References QByteArray::chop(), createDirectoryWithParents(), QByteArray::endsWith(), Q_CHECK_FILE_NAME, and QByteArray::size().
Referenced by QDir::mkdir(), QFSFileEngine::mkdir(), QDir::mkdir(), and QDir::mkpath().
|
static |
Resolves the entry (see QDir::searchPaths) and returns an engine for it, but never a QFSFileEngine.
Returns a file engine that can be used to access the entry. Returns 0 if QFileSystemEngine API should be used to query and interact with the file system object.
Definition at line 157 of file qfilesystemengine.cpp.
References _q_createLegacyEngine_recursive(), copy(), and engine.
Referenced by QDirPrivate::clearCache(), QAbstractFileEngine::create(), QFileInfo::exists(), and QDirListingPrivate::init().
|
static |
Definition at line 1166 of file qfilesystemengine_unix.cpp.
References error, Q_CHECK_FILE_NAME, and QSystemError::StandardLibraryError.
Referenced by QFSFileEngine::link().
|
static |
Definition at line 1757 of file qfilesystemengine_unix.cpp.
References QString::constData(), dir, QString::indexOf(), PATH_MAX, QByteArray(), qstrncpy(), qWarning, and QString::remove().
Referenced by absoluteName(), QDir::currentPath(), and QFSFileEngine::currentPath().
|
static |
Definition at line 354 of file qfilesystemengine_unix.cpp.
References QFileSystemMetaData::PosixStatFlags, qt_fstatx(), and ret.
Referenced by _q_checkEntry(), canonicalName(), QFileInfoPrivate::checkAttribute(), checkXdgRuntimeDir(), QFSFileEnginePrivate::doStat(), QDirPrivate::exists(), QFileInfo::exists(), QFileInfo::exists(), getLinkTarget(), QDir::isReadable(), QFileInfo::isRoot(), QFSFileEnginePrivate::isSymlink(), resolveGroupName(), resolveUserName(), and QFileInfo::stat().
|
static |
Definition at line 202 of file qfilesystemengine.cpp.
References Q_UNUSED.
Referenced by QFileInfoPrivate::getFileName().
|
static |
Definition at line 572 of file qfilesystemengine_unix.cpp.
References absoluteName(), QDir::cdUp(), QDir::cleanPath(), QByteArray::constData(), QFile::decodeName(), QFileSystemMetaData::DirectoryType, QFile::encodeName(), QFileSystemEntry::filePath(), fillMetaData(), QFileSystemEntry::nativeFilePath(), QDir::path(), Q_CHECK_FILE_NAME, qt_readlink(), resolvedUrl(), ret, and url.
Referenced by QFSFileEngine::fileName(), and QFileInfoPrivate::getFileName().
|
static |
Definition at line 631 of file qfilesystemengine_unix.cpp.
References QByteArray::constData(), QFile::decodeName(), QFileSystemEntry::nativeFilePath(), Q_UNUSED, qt_readlink(), and ret.
Referenced by QFSFileEngine::fileName(), and QFileInfoPrivate::getFileName().
|
static |
Definition at line 1717 of file qfilesystemengine_unix.cpp.
References QDir::cleanPath(), QFile::decodeName(), QString::isEmpty(), qgetenv(), and rootPath().
Referenced by QDir::homePath(), and QFSFileEngine::homePath().
|
static |
Definition at line 731 of file qfilesystemengine_unix.cpp.
References QByteArray::number(), Q_CHECK_FILE_NAME, QByteArray(), and qErrnoWarning().
Referenced by QFSFileEngine::id(), and QFile::rename().
|
inlinestatic |
Definition at line 61 of file qfilesystemengine_p.h.
Referenced by QExtendedInformation::isCaseSensitive().
|
static |
Definition at line 24 of file qfilesystemengine_mac.mm.
References error, info, QSystemError::NativeError, pool, and Q_UNUSED.
Referenced by QFile::moveToTrash().
|
static |
Definition at line 1141 of file qfilesystemengine_unix.cpp.
References QDir::cleanPath(), QByteArray::constData(), QFile::encodeName(), QString::lastIndexOf(), QString::left(), Q_CHECK_FILE_NAME, QDir::separator(), and QString::size().
Referenced by QDir::rmdir(), QFSFileEngine::rmdir(), and QDir::rmpath().
|
static |
Definition at line 1642 of file qfilesystemengine_unix.cpp.
References error, Q_CHECK_FILE_NAME, and QSystemError::StandardLibraryError.
Referenced by QFSFileEngine::remove().
|
static |
Definition at line 1558 of file qfilesystemengine_unix.cpp.
References error, Q_CHECK_FILE_NAME, QSystemError::StandardLibraryError, and SupportsHardlinking.
Referenced by QFile::rename().
|
static |
Definition at line 1630 of file qfilesystemengine_unix.cpp.
References error, Q_CHECK_FILE_NAME, and QSystemError::StandardLibraryError.
|
static |
Definition at line 187 of file qfilesystemengine.cpp.
References QFileSystemMetaData::exists(), fillMetaData(), QFileSystemMetaData::GroupId, QFileSystemMetaData::groupId(), QFileSystemMetaData::hasFlags(), QAbstractFileEngine::OwnerGroup, Q_UNUSED, and resolveGroupName().
Referenced by QFileInfoPrivate::getFileOwner(), QFSFileEngine::owner(), and resolveGroupName().
|
static |
Definition at line 172 of file qfilesystemengine.cpp.
References QFileSystemMetaData::exists(), fillMetaData(), QFileSystemMetaData::hasFlags(), QAbstractFileEngine::OwnerUser, Q_UNUSED, resolveUserName(), QFileSystemMetaData::UserId, and QFileSystemMetaData::userId().
Referenced by QFileInfoPrivate::getFileOwner(), QFSFileEngine::owner(), and resolveUserName().
|
static |
Definition at line 1725 of file qfilesystemengine_unix.cpp.
Referenced by homePath(), QDir::rootPath(), and QFSFileEngine::rootPath().
|
static |
Definition at line 1750 of file qfilesystemengine_unix.cpp.
Referenced by QDir::setCurrent(), and QFSFileEngine::setCurrentPath().
|
static |
Definition at line 1686 of file qfilesystemengine_unix.cpp.
References durationToTimespec(), error, QFileDevice::FileAccessTime, QFileDevice::FileBirthTime, QFileDevice::FileMetadataChangeTime, QFileDevice::FileModificationTime, Q_UNUSED, QSystemError::StandardLibraryError, and time.
Referenced by QFSFileEngine::setFileTime().
|
static |
Definition at line 1653 of file qfilesystemengine_unix.cpp.
References error, QFileSystemMetaData::Permissions, Q_CHECK_FILE_NAME, and QSystemError::StandardLibraryError.
Referenced by QFSFileEngine::setPermissions().
|
static |
Definition at line 1730 of file qfilesystemengine_unix.cpp.
References _PATH_TMP, QDir::canonicalPath(), QDir::cleanPath(), QFile::decodeName(), QString::isEmpty(), and qgetenv().
Referenced by QDir::tempPath(), and QFSFileEngine::tempPath().