content.remove()
Drop a single entry from the manifest and cache by key.
content.remove(source, key)
Drops a single entry from the manifest and cache by key, then emits the file:remove hook.
Parameters:
source: the source name.key: the entry'smeta.key.
Returns: Promise<void>
Usage
usage.ts
await content.remove('default', 'default:posts/hello.md')