Lines Matching defs:FileInfos
90 struct FileInfos {
105 bool operator==(const FileInfos &infos) const
109 bool operator<(const FileInfos &infos) const
130 static std::map<FileInfos, std::shared_ptr<CjCallbackObject>> cjCbMap_;
132 static void UnregisterListener(std::shared_ptr<FileInfos> fileInfos);
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);
145 static std::shared_ptr<FileInfos> InitCjFileInfo(
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,