All pastes #447036 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-18 20:12 UTC
rendered paste body
if(item == null)
			return 0;

		HashMap options = new HashMap();

		if(! item.getClass().equals(WorkspaceInfo.class))
			return Errno.ENOTDIR;
		try {
			this.ems.workspaceManager.deleteWorkspace(this.ems.userAuth, ((WorkspaceInfo)item).getUuid(), options);
		} catch(Exception e) {
			throw new FuseException("Can not remove directory: " + path);
		}