protected Resource hashResource(Resource moduleResource) throws IOException {
		// Yes, we'd like to use Resource.createRelative() but they don't all behave in the same way...
		String location = moduleResource.getURI().toString() + HASH_EXTENSION;
		return sanitize(resolver.getResources(location)).iterator().next();
	}
Whether to require the presence of a hash file for archives. Helps preventing half-uploaded archives from being
picked up.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/ResourceModuleRegistry.java