@Override
	public void clearCheckout() throws IOException {
		if (isVersioned) {
			throw new UnsupportedOperationException(
				"clearCheckout is not applicable to versioned item");
		}
		if (fileSystem.isReadOnly()) {
			throw new ReadOnlyException();
		}
		synchronized (fileSystem) {
			propertyFile.putLong(CHECKOUT_ID, DEFAULT_CHECKOUT_ID);
			propertyFile.putBoolean(EXCLUSIVE_CHECKOUT, false);
			propertyFile.putInt(CHECKOUT_VERSION, -1);
			propertyFile.putInt(LOCAL_CHECKOUT_VERSION, -1);
			propertyFile.writeState();

			fireItemChanged();
		}
	}
@see ghidra.framework.store.FolderItem#setReadOnly(boolean)
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LocalFolderItem.java