Rocky_Mountain_Vending/.pnpm-store/v10/files/12/de4b6d13c589ce5c4aa559ada143662d874622cabbf2f2d776faa20379862a5c9f7b46ab068a8342eec5b29d0cbd63c3e698f253535b8faa7afb09c6266dcd
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

20 lines
No EOL
770 B
Text

import { CachedRouteMatcherProvider } from '../helpers/cached-route-matcher-provider';
/**
* This will memoize the matchers when the file contents are the same.
*/ export class FileCacheRouteMatcherProvider extends CachedRouteMatcherProvider {
constructor(dir, reader){
super({
load: async ()=>reader.read(dir),
compare: (left, right)=>{
if (left.length !== right.length) return false;
// Assuming the file traversal order is deterministic...
for(let i = 0; i < left.length; i++){
if (left[i] !== right[i]) return false;
}
return true;
}
});
}
}
//# sourceMappingURL=file-cache-route-matcher-provider.js.map