Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Persistency::RepositoryInFileSystem::CopyFile ( FileLocator  srcLoc,
FileLocator  dstLoc 
) [inline]

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:


Generated on Thu Jan 13 09:23:27 2011 for ImpalaSrc by  doxygen 1.5.1