Changeset 13736
- Timestamp:
- 2007-01-23T11:57:26+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r13734 r13736 200 200 } 201 201 202 202 203 /** a test method to see if we can delete a directory/file - returns false is the file or any of the contents of a directory cannot be deleted */ 203 public boolean canDelete(File file) { 204 static private boolean canDelete(File file) 205 { 204 206 if (!file.isDirectory()) { 205 207 return file.canWrite(); … … 213 215 return true; 214 216 } 217 218 215 219 /** Called to close the current collection and remove its lock file. 216 220 * @see org.greenstone.gatherer.Gatherer
Note:
See TracChangeset
for help on using the changeset viewer.