Panda3D
|
A program to copy ordinary files into the cvs tree. More...
#include "testCopy.h"
Public Member Functions | |
void | run () |
Protected Member Functions | |
virtual bool | copy_file (const Filename &source, const Filename &dest, CVSSourceDirectory *dir, void *extra_data, bool new_file) |
Called by import() if the timestamps indicate that a file needs to be copied. |
A program to copy ordinary files into the cvs tree.
Mainly to test CVSCopy.
Definition at line 27 of file testCopy.h.
bool TestCopy::copy_file | ( | const Filename & | source, |
const Filename & | dest, | ||
CVSSourceDirectory * | dir, | ||
void * | extra_data, | ||
bool | new_file | ||
) | [protected, virtual] |
Called by import() if the timestamps indicate that a file needs to be copied.
This does the actual copy of a file from source to destination. If new_file is true, then dest does not already exist.
Implements CVSCopy.
Definition at line 62 of file testCopy.cxx.
References CVSCopy::copy_binary_file().