MCPcopy
hub / github.com/marimo-team/marimo / _script_metadata_hash

Function _script_metadata_hash

marimo/_session/state/serialize.py:419–426  ·  view source on GitHub ↗
(path: Path | str | None)

Source from the content-addressed store, hash-verified

417
418
419def _script_metadata_hash(path: Path | str | None) -> str | None:
420 if path is None:
421 return None
422 from marimo._utils.inline_script_metadata import (
423 script_metadata_hash_from_filename,
424 )
425
426 return script_metadata_hash_from_filename(str(path))
427
428
429class SessionCacheWriter(AsyncBackgroundTask):

Callers 1

runMethod · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…