Lines Matching refs:infos
105 bool operator==(const FileInfos &infos) const
107 return (srcUri == infos.srcUri && destUri == infos.destUri);
109 bool operator<(const FileInfos &infos) const
111 if (srcUri == infos.srcUri) {
112 return destUri < infos.destUri;
114 return srcUri < infos.srcUri;
138 static void StartNotify(std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback);
140 static int64_t DoCopy(std::shared_ptr<FileInfos> infos, std::shared_ptr<CjCallbackObject> callback);
141 static int64_t ExecLocal(std::shared_ptr<FileInfos>& infos, std::shared_ptr<CjCallbackObject>& callback);
142 static void CloseNotifyFd(std::shared_ptr<FileInfos>& infos, std::shared_ptr<CjCallbackObject>& callback);
144 static void CopyComplete(std::shared_ptr<FileInfos>& infos, std::shared_ptr<CjCallbackObject>& callback);
147 static std::shared_ptr<CjCallbackObject> RegisterListener(std::shared_ptr<FileInfos>& infos);
150 static int64_t SubscribeLocalListener(std::shared_ptr<FileInfos>& infos,
152 static int ExecCopy(std::shared_ptr<FileInfos> infos);
153 static int CopyFile(const std::string &src, const std::string &dest, std::shared_ptr<FileInfos> infos);
157 static int CopySubDir(const std::string &srcPath, const std::string &destPath, std::shared_ptr<FileInfos> infos);
158 static int CopyDirFunc(const std::string &src, const std::string &dest, std::shared_ptr<FileInfos> infos);
159 static uint64_t GetDirSize(std::shared_ptr<FileInfos> infos, std::string path);
160 static int RecurCopyDir(const std::string &srcPath, const std::string &destPath, std::shared_ptr<FileInfos> infos);
161 static void GetNotifyEvent(std::shared_ptr<FileInfos> infos);
162 static bool CheckFileValid(const std::string &filePath, std::shared_ptr<FileInfos> infos);
163 static void OnFileReceive(std::shared_ptr<FileInfos> infos);
164 static std::shared_ptr<CjCallbackObject> GetRegisteredListener(std::shared_ptr<FileInfos> infos);
166 static void ReadNotifyEvent(std::shared_ptr<FileInfos> infos);
169 std::shared_ptr<FileInfos> infos,
172 std::shared_ptr<FileInfos> infos,