{"modulePath":"github.com/memcode-ai/memcode","version":"v0.56.16","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package gitporcelain\n\nPackage gitporcelain holds small shared helpers for parsing git's porcelain output. Both the runtime's working-tree scans and the acceptance reconciler read \\`git status --porcelain\\` lines; with core.quotePath=true (git's default) any path with a non-ASCII or special character is emitted C-quoted (\"caf\\\\303\\\\251.txt\"), which a naive parser would treat as a literal path.\n\n## Functions\n\n```go\nfunc Unquote(p string) string\n```\nUnquote decodes a path as git porcelain output prints it when core.quotePath is active: wrapped in double quotes with C-style escapes (\\\\t, \\\\\", \\\\\\\\ and \\\\nnn octal bytes). Git's escapes are a subset of Go's string-literal escapes, so strconv.Unquote decodes them directly. A path git did not quote — or a malformed quote — is returned unchanged.\n\n","path":"github.com/memcode-ai/memcode/internal/agent/gitporcelain","name":"gitporcelain","synopsis":"Package gitporcelain holds small shared helpers for parsing git's porcelain output.","isRedistributable":true}
