Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / function

_sanitize

codeintel.git_source._sanitize

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Called by (1)
SymbolFileResolved by
_rungit_source.pysame file
Inside (1)
SymbolFileResolved by
git_sourcegit_source.pysame file
codeintel.git_source._sanitizebackend/app/codeintel/git_source.py, lines 264–266Open source
def _sanitize(text: str) -> str:    text = _SENSITIVE_RE.sub(r"\1***", text)    return text.strip()[-800:]

What the index recorded

Signature
def _sanitize(text: str) -> str:
File
backend/app/codeintel/git_source.py
Lines
264–266
Parser
python-ast
Git blob
6f88470169e4935929c5f865a974bd86da564c1a
Call sites
2 named, 0 resolved, 2 left unlinked

Read it on GitHub at this commit