From 2ca684904fa7c6100157ecb2b8b469225477e83f Mon Sep 17 00:00:00 2001 From: haochengxia Date: Tue, 5 Aug 2025 10:47:20 +0000 Subject: [PATCH 1/2] Fix links in README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c93eb4d..4cb2ff8 100644 --- a/README.md +++ b/README.md @@ -151,9 +151,9 @@ By defining custom hook functions for cache initialization, hit, miss, eviction, ### Getting Help -- Check [project documentation](docs.libcachesim.com/python) for detailed guides -- Open issues on [GitHub](https://github.com/cacheMon/libCacheSim-python/issues) -- Review [examples](/example) in the main repository +- Check [project documentation](https://docs.libcachesim.com/python) for detailed guides +- Open issues on [GitHub](https://github.com/cacheMon/libCacheSim-python/issues/new/choose) +- Review [examples](/examples) in the main repository --- ## Reference From e2d841c8cdfca1250c1b2ec823a0961291002952 Mon Sep 17 00:00:00 2001 From: Percy Date: Tue, 5 Aug 2025 15:09:15 -0400 Subject: [PATCH 2/2] Remove redundant bracket in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cb2ff8..527106e 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ The `PluginCache` allows you to define custom caching behavior through Python ca | Function | Signature | Description | |----------|-----------|-------------| -| `init_hook` | `((common_cache_params: CommonCacheParams)) -> Any` | Initialize your data structure | +| `init_hook` | `(common_cache_params: CommonCacheParams) -> Any` | Initialize your data structure | | `hit_hook` | `(data: Any, request: Request) -> None` | Handle cache hits | | `miss_hook` | `(data: Any, request: Request) -> None` | Handle cache misses | | `eviction_hook` | `(data: Any, request: Request) -> int` | Return object ID to evict |