Definition at line 59 of file RepositoryInFileSystem.h. References Impala::Persistency::File::CopyFrom(), GetFile(), and Impala::Persistency::File::Valid(). Referenced by Impala::Application::Repository::DoSyncFile(), Impala::Application::Repository::DoSyncImageFiles(), and Impala::Application::Repository::DoSyncVideoFiles(). 00060 { 00061 File dstFile = GetFile(dstLoc, false, true); 00062 if (dstFile.Valid()) 00063 return; // already exists, assume in sync 00064 00065 dstFile = GetFile(dstLoc, true, false); // make sure dir is created 00066 File srcFile = GetFile(srcLoc, false, false); 00067 dstFile.CopyFrom(srcFile); 00068 }
Here is the call graph for this function: ![]()
|