MCPcopy Create free account
hub / github.com/vercel/examples / sanitize

Function sanitize

python/vibe-coding-ide/frontend/src/context/ProjectsContext.tsx:591–591  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

589 const agentignoreText = activeState.files['.agentignore'] || ''
590 const isPathIgnored = React.useMemo(() => {
591 const sanitize = (s: string) => s.trim()
592 const linesGit = gitignoreText
593 ? gitignoreText
594 .split(/\r?\n/)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected