update scaladoc to reflect argument type of the overload

This commit is contained in:
Brice Jaglin 2020-04-24 16:54:11 +02:00
parent 6be10901de
commit 33b09dc765
1 changed files with 8 additions and 8 deletions

View File

@ -83,8 +83,8 @@ object Tracked {
* Creates a tracker that indicates whether the output returned from `p` has changed or not. * Creates a tracker that indicates whether the output returned from `p` has changed or not.
* *
* {{{ * {{{
* val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) => * val cachedTask = inputChanged(cacheStoreFactory.make("inputs")) { (inChanged, in: Inputs) =>
* Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) => * Tracked.outputChanged(cacheStoreFactory.make("output")) { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
* if (inChanged || outChanged) { * if (inChanged || outChanged) {
* doSomething(label, sources, classpath, outputDirectory, options, log) * doSomething(label, sources, classpath, outputDirectory, options, log)
* } * }
@ -103,8 +103,8 @@ object Tracked {
* Creates a tracker that indicates whether the output returned from `p` has changed or not. * Creates a tracker that indicates whether the output returned from `p` has changed or not.
* *
* {{{ * {{{
* val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) => * val cachedTask = inputChanged(cacheStoreFactory.make("inputs")) { (inChanged, in: Inputs) =>
* Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) => * Tracked.outputChanged(cacheStoreFactory.make("output")) { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
* if (inChanged || outChanged) { * if (inChanged || outChanged) {
* doSomething(label, sources, classpath, outputDirectory, options, log) * doSomething(label, sources, classpath, outputDirectory, options, log)
* } * }
@ -175,8 +175,8 @@ object Tracked {
* recent invocation. * recent invocation.
* *
* {{{ * {{{
* val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) => * val cachedTask = inputChanged(cacheStoreFactory.make("inputs")) { (inChanged, in: Inputs) =>
* Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) => * Tracked.outputChanged(cacheStoreFactory.make("output")) { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
* if (inChanged || outChanged) { * if (inChanged || outChanged) {
* doSomething(label, sources, classpath, outputDirectory, options, log) * doSomething(label, sources, classpath, outputDirectory, options, log)
* } * }
@ -195,8 +195,8 @@ object Tracked {
* recent invocation. * recent invocation.
* *
* {{{ * {{{
* val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) => * val cachedTask = inputChanged(cacheStoreFactory.make("inputs")) { (inChanged, in: Inputs) =>
* Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) => * Tracked.outputChanged(cacheStoreFactory.make("output")) { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
* if (inChanged || outChanged) { * if (inChanged || outChanged) {
* doSomething(label, sources, classpath, outputDirectory, options, log) * doSomething(label, sources, classpath, outputDirectory, options, log)
* } * }