Panda3D
Public Member Functions | Protected Member Functions

TestCopy Class Reference

A program to copy ordinary files into the cvs tree. More...

#include "testCopy.h"

Inheritance diagram for TestCopy:
CVSCopy ProgramBase

List of all members.

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.

Detailed Description

A program to copy ordinary files into the cvs tree.

Mainly to test CVSCopy.

Definition at line 27 of file testCopy.h.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations