version-fox / version-fox/vfox
[Feature]: Add a new module `vfox.cache` to allow plugins to cache something.
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 4k
- Forks
- 157
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 5
Description
2. What is your expected outcome?
Something like below:
local c = require('vfox.cache')
local cache = c.new('path')
--- -1 : never expired
cache.set(key, value, expire_time)
local value = cache.get(key)
local success = cache.remove(key)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides only a Lua usage sketch for a new vfox.cache module and names no files, tests, or entry points. Start by locating the plugin API and existing storage-related code, then clarify cache path, key/value handling, expiration, and removal behavior. Done means the module is available to plugins and its behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, lua
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100