private void undoCheckouts(List<DomainFile> files, boolean keep, boolean force,
			TaskMonitor monitor) throws IOException, CancelledException {
		for (DomainFile df : files) {
			monitor.checkCancelled();
			if (df.isCheckedOut()) {
				df.undoCheckout(keep, force);
			}
		}
	}
Undo checkouts for all domain files listed.
@param files list of files to undo checkout
@param keep if a .keep copy of any checked-out file should be retained in the local file.
@param force if not connected to the repository the local checkout file will be removed.
   Warning: forcing undo checkout will leave a stale checkout in place for the associated 
   repository if not connected.
@param monitor task monitor
@throws IOException if an IO error occurs
@throws CancelledException if task cancelled
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DefaultProjectData.java