mirror of https://github.com/sbt/sbt.git
Use more sound default cache policy in API
This commit is contained in:
parent
d47c000a87
commit
9428d0343f
|
|
@ -906,7 +906,7 @@ object Cache {
|
|||
def file(
|
||||
artifact: Artifact,
|
||||
cache: File = default,
|
||||
cachePolicy: CachePolicy = CachePolicy.FetchMissing,
|
||||
cachePolicy: CachePolicy = CachePolicy.UpdateChanging,
|
||||
checksums: Seq[Option[String]] = defaultChecksums,
|
||||
logger: Option[Logger] = None,
|
||||
pool: ExecutorService = defaultPool,
|
||||
|
|
@ -961,7 +961,7 @@ object Cache {
|
|||
|
||||
def fetch(
|
||||
cache: File = default,
|
||||
cachePolicy: CachePolicy = CachePolicy.FetchMissing,
|
||||
cachePolicy: CachePolicy = CachePolicy.UpdateChanging,
|
||||
checksums: Seq[Option[String]] = defaultChecksums,
|
||||
logger: Option[Logger] = None,
|
||||
pool: ExecutorService = defaultPool,
|
||||
|
|
|
|||
Loading…
Reference in New Issue