Searched refs:sPathAbs (Results 1 – 3 of 3) sorted by relevance
167 m_nSizeSeen=GetFileSize(sPathAbs, 0); in Setup()223 ::unlink((sPathAbs+".head").c_str()); in Setup()264 cmstring sPathHead(sPathAbs+".head"); in SetupClean()269 Cstat stf(sPathAbs); in SetupClean()366 string sHeadPath=sPathAbs + ".head"; in DownloadStartedStoreHeader()380 LOG("Deleting " << sPathAbs); in DownloadStartedStoreHeader()381 ::unlink(sPathAbs.c_str()); in DownloadStartedStoreHeader()561 mkbasedir(sPathAbs); in DownloadStartedStoreHeader()571 string temp=sPathAbs+".tmp"; in DownloadStartedStoreHeader()572 if(FileCopy(sPathAbs, temp) && 0==unlink(sPathAbs.c_str()) ) in DownloadStartedStoreHeader()[all …]
63 string sPathAbs(CACHE_BASE+sPathRel); in HandlePkgEntry() local131 auto sHeadAbs(sPathAbs+".head"); in HandlePkgEntry()190 !descHave.fpr.ScanFile(sPathAbs, entry.fpr.csType)) in HandlePkgEntry()195 log::err(tSS() << "Error reading " << sPathAbs ); in HandlePkgEntry()253 ignore_value(::truncate(sPathAbs.c_str(), 0)); in HandlePkgEntry()434 string sPathAbs = SABSPATH(sPathRel); in RemoveAndStoreStatus() local441 if(::unlink(sPathAbs.c_str())) in RemoveAndStoreStatus()444 if(::unlink((sPathAbs + ".head").c_str())) in RemoveAndStoreStatus()758 if(sPathAbs.size()<=CACHE_BASE_LEN) // heh? in ProcessRegular()773 m_oversizedFiles.emplace_back(sPathAbs); in ProcessRegular()[all …]
861 mstring sPathAbs = SABSPATH(m_sPathRel); in Inject() local862 mkbasedir(sPathAbs); in Inject()863 if(head.StoreToFile(sPathAbs+".head") <=0) in Inject()869 if (LinkOrCopy(SABSPATH(fromRel), sPathAbs)) in Inject()