Share `canLink` for all usages of broccoli-caching-writer.