(filePath: string)
| 9 | import { parseFrontmatter } from "../src/utils/frontmatter" |
| 10 | |
| 11 | async function exists(filePath: string): Promise<boolean> { |
| 12 | try { |
| 13 | await fs.access(filePath) |
| 14 | return true |
| 15 | } catch { |
| 16 | return false |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | async function entryExists(filePath: string): Promise<boolean> { |
| 21 | try { |