Home
last modified time | relevance | path

Searched refs:shouldStartWithSlash (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dbackup_file_utils.h74 …static std::string GetFileFolderFromPath(const std::string &path, bool shouldStartWithSlash = true…
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbackup_file_utils.cpp632 …::string BackupFileUtils::GetFileFolderFromPath(const std::string &path, bool shouldStartWithSlash) in GetFileFolderFromPath() argument
640 size_t startPos = MediaFileUtils::StartsWith(path, "/") && !shouldStartWithSlash ? 1 : 0; in GetFileFolderFromPath()