@Override public SkyValue compute(SkyKey skyKey, Environment env) throws SkyFunctionException { RepositoryName repositoryName = (RepositoryName) skyKey.argument(); Rule rule = RepositoryFunction.getRule(repositoryName, HttpArchiveRule.NAME, env); if (rule == null) { return null; } return compute(env, rule); }
protected Path getExternalRepositoryDirectory() { return RepositoryFunction.getExternalRepositoryDirectory(directories); }