Slash forward icon
  • Documentation
  • Plugins
  • API Reference
  • Examples
  • GitHub
    • comarkContent
    • content.get
    • content.list
    • content.navigation
    • content.stat
    • content.getSource
    • content.handler
    • content.watch
    • content.update
    • content.remove
    • content.cache
    • content.manifest
    • content.hooks
    • content.status
    • content.init
    • content.loadSnapshot
    • content.addParser
    • content.addListingFields
    • content.addServeHandler
    • createContentClient
    • content.get
    • content.list
    • content.navigation
    • defineContentPlugin
    • defineContentClientPlugin
    • Content
    • Client
    • Plugins
    • Typegen
    • File parsed
  • Cheat Sheet
  • CLI
Reference

content.stat()

Look up a single manifest entry by path or key without parsing the body.

content.stat(key)

Looks up a single manifest entry by its public path (or source/stem key) without parsing the body. Synchronous.

Parameters:

  • key: a public path or manifest key.

Returns: ContentListFile | undefined

Usage

usage.ts
const entry = content.stat('/posts/hello')

content.navigation

Build a hierarchical navigation tree from the manifest.

content.getSource

Return a configured source by name.

On this page

  • content.stat(key)
  • Usage
  • Edit this page on GitHub
  • Star on GitHub
  • Comark docs
© 2026 Vercel, Inc.