fix(folder): use memoized trie instead of handrolled path solution (closes #1767)

This commit is contained in:
Jacky Zhao committed 2025-03-14 15:08:23 -07:00
1 parent da1b6b37fe
commit fbb4523853
5 files changed
+144 -42

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ export function transformLink(src: FullSlug, target: string, opts: TransformOpti
}
// path helpers
function isFolderPath(fplike: string): boolean {
export function isFolderPath(fplike: string): boolean {
return (
fplike.endsWith("/") ||
endsWith(fplike, "index") ||