b830dd7414cd5b196243184169c11a6ee10a3d51
tdreszer
  Mon Oct 25 13:47:59 2010 -0700
Added tracksDirReusableFile so that hgTracks bg image of blue lines can be reused.
diff --git src/hg/inc/trashDir.h src/hg/inc/trashDir.h
index 8112446..91dc897 100644
--- src/hg/inc/trashDir.h
+++ src/hg/inc/trashDir.h
@@ -1,16 +1,20 @@
 /* trashDir.c - temporary file creation and directory creation in /trash */
 
 #ifndef TRASHDIR_H
 #define TRASHDIR_H
 
 #include "portable.h"
 
 void trashDirFile(struct tempName *tn, char *dirName, char *base, char *suffix);
 /*	obtain a trash file name trash/dirName/base*.suffix */
 
+boolean trashDirReusableFile(struct tempName *tn, char *dirName, char *base, char *suffix);
+/*      obtain a resusable trash file name as trash/dirName/base.suffix
+ *      returns TRUE if already exists. */
+
 void copyFileToTrash(char **pFileName, char *dirName, char *base, char *suffix);
 /* If *pFileName is not NULL and exists, then create a new file in the
  * given dirName of trash/ with the given base and suffix, copy *pFileName's
  * contents to it, and set *pFileName to the new filename. */
 
 #endif	/*	TRASHDIR_H	*/