# customerToSubstratePath

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/git-sync/git-sync.types.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/git-sync/git-sync.types.ts#L48)

customer `<prefix>/<rest>` → substrate `docs/<rest>`. Null when the path is outside the
managed prefix or inside the machine-owned `<prefix>/.atloria/` manifest folder.

## Signature

```ts
function customerToSubstratePath(prefix: string, customerPath: string): string | null
```

## Parameters

| Name | Type |
|---|---|
| `prefix` | `string` |
| `customerPath` | `string` |

**Returns:** `string | null`
