mirror of https://github.com/sbt/sbt.git
Make private methods that should be
This commit is contained in:
parent
cedc424ecb
commit
da98fbca2b
|
|
@ -13,7 +13,7 @@ import java.io.{ Serializable => _, _ }
|
|||
|
||||
object Cache {
|
||||
|
||||
def withLocal(artifact: Artifact, cache: Seq[(String, File)]): Artifact = {
|
||||
private def withLocal(artifact: Artifact, cache: Seq[(String, File)]): Artifact = {
|
||||
def local(url: String) =
|
||||
if (url.startsWith("file:///"))
|
||||
url.stripPrefix("file://")
|
||||
|
|
@ -48,7 +48,7 @@ object Cache {
|
|||
))
|
||||
}
|
||||
|
||||
def download(
|
||||
private def download(
|
||||
artifact: Artifact,
|
||||
cache: Seq[(String, File)],
|
||||
checksums: Set[String],
|
||||
|
|
|
|||
Loading…
Reference in New Issue