private void findCheckouts(DomainFolder parentFolder, Accumulator<CheckoutInfo> accumulator,
			TaskMonitor monitor) throws IOException, CancelledException {

		DomainFile[] files = parentFolder.getFiles();
		for (DomainFile file : files) {
			if (monitor.isCancelled()) {
				throw new CancelledException();
			}
			if (file.isCheckedOut()) {
				try {
					CheckoutInfo info = new CheckoutInfo(file);
					accumulator.add(info);
				}
				catch (NotConnectedException nce) {
					failedStatusMessage = nce.getMessage();
					return;
				}
				catch (IOException e) {
					Msg.showError(this, null, "Error Getting Checkout Info",
						"Failed to get checkout information for\n" + file.getName(), e);
					throw e;
				}
			}
		}
		DomainFolder[] folders = parentFolder.getFolders();
		for (DomainFolder folder : folders) {
			if (monitor.isCancelled()) {
				throw new CancelledException();
			}
			findCheckouts(folder, accumulator, monitor);
		}
	}
Table model for find checkouts for the user logged in.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/FindCheckoutsTableModel.java