Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp344 static string GetToDeletePath(const string &toDeletePath, napi_env env) in GetToDeletePath() argument
346 HILOG_INFO("GetToDeletePath: toDeletePath = %{public}s", toDeletePath.c_str()); in GetToDeletePath()
350 size_t trashPathPrefixPos = toDeletePath.find(FileTrashNExporter::trashPath_); in GetToDeletePath()
352 …trashPathPrefixPos + FileTrashNExporter::trashPath_.length() + slashSize >= toDeletePath.length())… in GetToDeletePath()
357toDeletePath.substr(trashPathPrefixPos + FileTrashNExporter::trashPath_.length() + slashSize); in GetToDeletePath()
363 string trashWithTimePath = toDeletePath.substr(0, realTimeDirPos); in GetToDeletePath()
367 return RecurCheckIfOnlyContentInDir(toDeletePath, realTimeDirPos, trashWithTimePath); in GetToDeletePath()