• Home
  • Raw
  • Download

Lines Matching refs:localPath

56 …uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR,…  in BeginTransfer()
61 LogMsg(MSG_FAIL, "Transfer path failed, Master:%s Slave:%s", context->localPath.c_str(), in BeginTransfer()
109 context->localPath = argv[argc - 2]; in SetMasterParameters()
116 ExtractRelativePath(context->transferConfig.clientCwd, context->localPath); in SetMasterParameters()
120 context->localPath = argv[argc - 1]; in SetMasterParameters()
124 context->localName = Base::GetFullFilePath(context->localPath); in SetMasterParameters()
127 …if (!Base::CheckDirectoryOrPath(context->localPath.c_str(), true, true, errStr, mode) && (mode & S… in SetMasterParameters()
129 GetSubFilesRecursively(context->localPath, context->localName, &context->taskQueue); in SetMasterParameters()
136 context->localDirName = Base::GetPathWithoutFilename(context->localPath); in SetMasterParameters()
141 context->localPath = context->localDirName + context->localName; in SetMasterParameters()
144 context->localPath.c_str()); in SetMasterParameters()
257 ctxNow.localPath = stat.path; in SlaveCheck()
264 if (!CheckLocalPath(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
269 if (!CheckFilename(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
274 childRet = SmartSlavePath(stat.clientCwd, ctxNow.localPath, stat.optionalName.c_str()); in SlaveCheck()
278 uv_fs_stat(nullptr, &fs, ctxNow.localPath.c_str(), nullptr); in SlaveCheck()
281 … LogMsg(MSG_FAIL, "Target file is the same date or newer,path: %s", ctxNow.localPath.c_str()); in SlaveCheck()
287 …uv_fs_open(loopTask, &ctxNow.fsOpenReq, ctxNow.localPath.c_str(), UV_FS_O_TRUNC | UV_FS_O_CREAT | … in SlaveCheck()
301 context->localPath = context->localDirName + context->localName; in TransferNext()
304 context->localName.c_str(), context->localPath.c_str(), ctxNow.taskQueue.size()); in TransferNext()
307 …uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR,… in TransferNext()