Skip to content

Commit

Permalink
Merge pull request #28 from hhravn/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
kfiroo authored Apr 12, 2017
2 parents 61e8923 + 08b98ab commit d75c4b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ Will download the file from the given url and save it to the device.
Returns a Promise that is resolved with the path to the underlying cached image file path if download was successful.
Promise is rejected if the download or file write failed.

#### `ImageCacheProvider.seedCache(local: string, url: string, options: CacheOptions): Promise`
Seed the cache for a given url with a local image.
Useful to avoid having to download an image when you have a local copy.

#### `ImageCacheProvider.deleteCachedImage(url: string, options: CacheOptions): Promise`
Deletes the underlying cached image for a given url.

Expand Down

0 comments on commit d75c4b1

Please sign in to comment.