diff --git a/packages/flat-cache/README.md b/packages/flat-cache/README.md index 35d64e58..026dd590 100644 --- a/packages/flat-cache/README.md +++ b/packages/flat-cache/README.md @@ -107,7 +107,7 @@ In version 6 we attempted to keep as much as the functionality as possible which - `create(options?: FlatCacheOptions)` - Creates a new cache and will load the data from disk if it exists - `createFromFile(filePath, options?: FlatCacheOptions)` - Creates a new cache from a file -- `clearByCacheId(cacheId: string, cacheDir?: string)` - Clears the cache by the cacheId +- `clearCacheById(cacheId: string, cacheDir?: string)` - Clears the cache by the cacheId - `clearAll(cacheDirectory?: string)` - Clears all the caches