document

open suspend override fun document(path: Path): Path(source)

Retrieves a document corresponding to the specified path.

The document represents the content or metadata associated with the given path. If no document can be retrieved for the provided path, null is returned.

Return

A document corresponding to the path, or null if no document is available.

Parameters

path

The path for which the document is to be retrieved.