Home
last modified time | relevance | path

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

/dports/news/nzbget/nzbget-21.1/daemon/queue/
H A DHistoryCoordinator.cpp346 FileSystem::DirectoryExists(historyInfo->GetNzbInfo()->GetDestDir())) in HistoryDelete()
348 info("Deleting %s", historyInfo->GetNzbInfo()->GetDestDir()); in HistoryDelete()
397 if (ParParser::FindMainPars(nzbInfo->GetDestDir(), nullptr)) in MoveToQueue()
483 if (FileSystem::DirectoryExists(nzbInfo->GetDestDir())) in HistoryRedownload()
485 detail("Deleting %s", nzbInfo->GetDestDir()); in HistoryRedownload()
487 if (!FileSystem::DeleteDirectoryWithContent(nzbInfo->GetDestDir(), errmsg)) in HistoryRedownload()
494 if (FileSystem::DirectoryExists(nzbInfo->GetDestDir())) in HistoryRedownload()
496 detail("Deleting %s", nzbInfo->GetDestDir()); in HistoryRedownload()
498 if (!FileSystem::DeleteDirectoryWithContent(nzbInfo->GetDestDir(), errmsg)) in HistoryRedownload()
585 if (!FileSystem::DirectoryExists(nzbInfo->GetDestDir())) in HistoryRetry()
[all …]
H A DDirectRenamer.cpp97 nzbInfo->GetDestDir(), PATH_SEPARATOR, completedFile.GetFilename())); in StartLoader()
366 …newName = BuildNewParName(fileInfo->GetFilename(), nzbInfo->GetDestDir(), fileInfo->GetParSetId(),… in RenameFiles()
408 …newName = BuildNewParName(completedFile.GetFilename(), nzbInfo->GetDestDir(), completedFile.GetPar… in RenameFiles()
516 BString<1024> oldFullFilename("%s%c%s", nzbInfo->GetDestDir(), PATH_SEPARATOR, oldName); in RenameCompletedFile()
517 BString<1024> newFullFilename("%s%c%s", nzbInfo->GetDestDir(), PATH_SEPARATOR, newName); in RenameCompletedFile()
H A DQueueCoordinator.cpp757 …FileSystem::FileExists(BString<1024>("%s%c%s", nzbInfo->GetDestDir(), PATH_SEPARATOR, fileInfo->Ge… in ArticleCompleted()
979 …BString<1024> outputFilename("%s%c%s", fileInfo->GetNzbInfo()->GetDestDir(), PATH_SEPARATOR, fileI… in LoadPartialState()
1105 BString<1024> oldDestDir = nzbInfo->GetDestDir(); in SetQueueEntryCategory()
1110 bool dirUnchanged = !strcmp(nzbInfo->GetDestDir(), oldDestDir); in SetQueueEntryCategory()
1138 BString<1024> oldDestDir = nzbInfo->GetDestDir(); in SetQueueEntryName()
1142 bool dirUnchanged = !strcmp(nzbInfo->GetDestDir(), oldDestDir); in SetQueueEntryName()
H A DDownloadInfo.cpp245 CString finalDir = g_Options->GetDestDir(); in BuildFinalDirName()
251 if (category && !Util::EmptyStr(category->GetDestDir())) in BuildFinalDirName()
253 finalDir = category->GetDestDir(); in BuildFinalDirName()
H A DDownloadInfo.h474 const char* GetDestDir() { return m_destDir; } in GetDestDir() function
H A DDiskState.cpp543 outfile.PrintLine("%s", nzbInfo->GetDestDir()); in SaveNzbInfo()
/dports/news/nzbget/nzbget-21.1/daemon/main/
H A DDiskService.cpp69 int64 freeSpace = FileSystem::FreeDiskSize(g_Options->GetDestDir()); in CheckDiskSpace()
72 warn("Low disk space on %s. Pausing download", g_Options->GetDestDir()); in CheckDiskSpace()
H A DOptions.h145 const char* GetDestDir() { return m_destDir; } in GetDestDir() function
197 const char* GetDestDir() { return m_destDir; } in GetDestDir() function
/dports/news/nzbget/nzbget-21.1/daemon/postprocess/
H A DPrePostProcessor.cpp199 !FileSystem::DirectoryExists(nzbInfo->GetDestDir())) in SanitisePostQueue()
458 …BString<1024> fullFileName("%s%c%s", nzbInfo->GetDestDir(), PATH_SEPARATOR, completedFile.GetFilen… in DeleteCleanup()
467 DirBrowser dir(nzbInfo->GetDestDir()); in DeleteCleanup()
473 BString<1024> fullFilename("%s%c%s", nzbInfo->GetDestDir(), PATH_SEPARATOR, filename); in DeleteCleanup()
480 FileSystem::DeleteDirectory(nzbInfo->GetDestDir()); in DeleteCleanup()
692 if (ParParser::FindMainPars(nzbInfo->GetDestDir(), nullptr)) in StartJob()
718 ParParser::FindMainPars(nzbInfo->GetDestDir(), nullptr)) in StartJob()
738 ParParser::FindMainPars(nzbInfo->GetDestDir(), nullptr)) in StartJob()
766 ParParser::FindMainPars(nzbInfo->GetDestDir(), nullptr)) in StartJob()
809 !strncmp(nzbInfo->GetDestDir(), g_Options->GetInterDir(), strlen(g_Options->GetInterDir())) && in StartJob()
[all …]
H A DRepair.cpp146 …kInfo, "Checking %s for dupe scan usability", FileSystem::BaseFileName(dupeNzbInfo->GetDestDir())); in RequestDupeSources()
148 … bool useDupe = !sizeComparisonPossible || dupeMatcher.MatchDupeContent(dupeNzbInfo->GetDestDir()); in RequestDupeSources()
151 …ge::mkInfo, "Adding %s to dupe scan sources", FileSystem::BaseFileName(dupeNzbInfo->GetDestDir())); in RequestDupeSources()
152 dupeSourceList->emplace_back(dupeNzbInfo->GetId(), dupeNzbInfo->GetDestDir()); in RequestDupeSources()
239 destDir = m_postInfo->GetNzbInfo()->GetDestDir(); in Run()
263 …BString<1024> fullFilename("%s%c%s", fileInfo->GetNzbInfo()->GetDestDir(), PATH_SEPARATOR, fileInf… in AddPar()
H A DCleanup.cpp46 m_interDir = m_postInfo->GetNzbInfo()->GetDestDir(); in Run()
147 destDir = m_postInfo->GetNzbInfo()->GetDestDir(); in Run()
H A DRepair.h88 DupeMatcher(postInfo->GetNzbInfo()->GetDestDir(), in PostDupeMatcher()
H A DDirectUnpack.cpp55 m_destDir = nzbInfo->GetDestDir(); in Run()
429 if (nzbInfo && (strcmp(m_destDir, nzbInfo->GetDestDir()) || in WaitNextVolume()
H A DUnpack.cpp59 m_destDir = m_postInfo->GetNzbInfo()->GetDestDir(); in Run()
603 …!strncmp(m_postInfo->GetNzbInfo()->GetDestDir(), g_Options->GetInterDir(), strlen(g_Options->GetIn… in CreateUnpackDir()
604 m_postInfo->GetNzbInfo()->GetDestDir()[strlen(g_Options->GetInterDir())] == PATH_SEPARATOR; in CreateUnpackDir()
H A DRename.cpp87 destDir = m_postInfo->GetNzbInfo()->GetDestDir(); in Run()
/dports/news/nzbget/nzbget-21.1/daemon/nntp/
H A DArticleWriter.cpp87 …FileSystem::FileExists(BString<1024>("%s%c%s", m_fileInfo->GetNzbInfo()->GetDestDir(), PATH_SEPARA… in Start()
286 filename.Format("%s%c%i.out.tmp", m_fileInfo->GetNzbInfo()->GetDestDir(), in BuildOutputFilename()
309 nzbDestDir = m_fileInfo->GetNzbInfo()->GetDestDir(); in CompleteFileParts()
563 if (strcmp(m_fileInfo->GetNzbInfo()->GetDestDir(), nzbDestDir)) in CompleteFileParts()
703 if (!FileSystem::ForceDirectories(nzbInfo->GetDestDir(), errmsg)) in MoveCompletedFiles()
705 …nzbInfo->PrintMessage(Message::mkError, "Could not create directory %s: %s", nzbInfo->GetDestDir()… in MoveCompletedFiles()
713 …BString<1024> newFileName("%s%c%s", nzbInfo->GetDestDir(), PATH_SEPARATOR, completedFile.GetFilena… in MoveCompletedFiles()
719 newFileName = FileSystem::MakeUniqueFilename(nzbInfo->GetDestDir(), completedFile.GetFilename()); in MoveCompletedFiles()
/dports/news/nzbget/nzbget-21.1/daemon/remote/
H A DBinRpc.cpp492 bufsize += strlen(nzbInfo->GetDestDir()) + 1; in Execute()
552 listAnswer->m_destDirLen = htonl(strlen(nzbInfo->GetDestDir()) + 1); in Execute()
560 strcpy(bufptr, nzbInfo->GetDestDir()); in Execute()
921 bufsize += strlen(postInfo->GetNzbInfo()->GetDestDir()) + 1; in Execute()
949 postQueueAnswer->m_destDirLen = htonl(strlen(postInfo->GetNzbInfo()->GetDestDir()) + 1); in Execute()
956 strcpy(bufptr, postInfo->GetNzbInfo()->GetDestDir()); in Execute()
H A DXmlRpc.cpp1351 int64 freeDiskSpace = FileSystem::FreeDiskSize(g_Options->GetDestDir()); in Execute()
1557 …*EncodeStr(fileInfo->GetNzbInfo()->GetDestDir()), *EncodeStr(fileInfo->GetNzbInfo()->GetCategory()… in Execute()
1744 *EncodeStr(nzbInfo->GetDestDir()), *EncodeStr(nzbInfo->GetFinalDir()), in AppendNzbInfoFields()
/dports/news/nzbget/nzbget-21.1/daemon/windows/
H A DWinConsole.cpp341 ShowInExplorer(g_Options->GetDestDir()); in ShowMenu()
849 BString<1024> destDir = category.GetDestDir(); in ShowCategoryDir()
854 destDir.Format("%s%c%s", g_Options->GetDestDir(), PATH_SEPARATOR, *categoryDir); in ShowCategoryDir()
/dports/news/nzbget/nzbget-21.1/daemon/extension/
H A DPostScript.cpp120 SetEnvVar("NZBPP_DIRECTORY", m_postInfo->GetNzbInfo()->GetDestDir()); in PrepareParams()
H A DQueueScript.cpp82 scriptController->m_destDir = nzbInfo->GetDestDir(); in StartScript()
/dports/net-p2p/libswift/libswift-dc0cbcc/
H A Dswift.h1407 std::string GetDestDir() { in GetDestDir() function