From 8e85bdc68fa368d8c7a9e7c8afff5c3d2f24587b Mon Sep 17 00:00:00 2001 From: Emmanuel M Date: Fri, 21 Dec 2018 02:27:42 -0300 Subject: [PATCH] Corrected function name in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 936ce06..a0b43aa 100644 --- a/README.md +++ b/README.md @@ -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 }