flag to disable caching
Open
@shubham149 is already working on this.
Since Mar 24, 2023.
- Dominant language
- Go
- Stars
- 3
- Forks
- 5
- Avg merge
- 7m
- Merged PRs (30d)
- 1
Description
In order to disable caching, the cacheCloner should implement the Cloner interface. This makes it super simple to wrap the default cloner with caching, or without, while keeping the rest of the code the same. For example, if they implement the same interface, we can do this:
clone := cloner.NewDefault()
if nocache == false {
clone = cloner.NewCache(clone)
}
We can then add a --no-cache flag.
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.