MCPcopy Index your code
hub / github.com/codeaashu/claude-code / toPosixPath

Function toPosixPath

src/utils/permissions/filesystem.ts:187–192  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

185 * @returns A POSIX-style path
186 */
187export function toPosixPath(path: string): string {
188 if (getPlatform() === 'windows') {
189 return windowsPathToPosixPath(path)
190 }
191 return path
192}
193
194function getSettingsPaths(): string[] {
195 return SETTING_SOURCES.map(source =>

Callers 1

createReadRuleSuggestionFunction · 0.85

Calls 1

getPlatformFunction · 0.85

Tested by

no test coverage detected