Skip to content

Commit

Permalink
Corrected function name in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelMess committed Dec 21, 2018
1 parent 52674e3 commit 8e85bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
fun preload(externalDir: File) =
FilePreloader.with(::FileMetadata).preloadFrom(externalDir.absolutePath)

fun load() = FilePreloader.with(::FileMetadata).loadFrom(externalDir.absolutePath) {
fun load() = FilePreloader.with(::FileMetadata).load(externalDir.absolutePath) {
//Do something with the data
show(it) //it: List<FileMetadata>
}
Expand Down

0 comments on commit 8e85bdc

Please sign in to comment.