MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / git_last_content_updated

Function git_last_content_updated

tools/docs_and_notebooks_check.py:473–486  ·  view source on GitHub ↗
(repo_root: Path, rel_path: str)

Source from the content-addressed store, hash-verified

471
472
473def git_last_content_updated(repo_root: Path, rel_path: str) -> tuple[date | None, bool]:
474 d = _git_log_date(
475 repo_root,
476 rel_path,
477 extra_args=[
478 "--fixed-strings",
479 "--invert-grep",
480 "--grep",
481 META_COMMIT_MARKER,
482 ],
483 )
484 if d is not None:
485 return d, False
486 return git_last_touched(repo_root, rel_path), True
487
488
489FRONTMATTER_RE = re.compile(r"^---\s*$")

Callers 1

scan_filesFunction · 0.85

Calls 2

_git_log_dateFunction · 0.85
git_last_touchedFunction · 0.85

Tested by

no test coverage detected