mirror of
https://github.com/openai/codex.git
synced 2026-05-19 18:52:57 +00:00
44 lines
880 B
JSON
Generated
44 lines
880 B
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"WorktreeDirtyPolicy": {
|
|
"enum": [
|
|
"fail",
|
|
"ignore",
|
|
"copyTracked",
|
|
"copyAll",
|
|
"moveTracked",
|
|
"moveAll"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"description": "Create or reuse a managed worktree from the repository containing \\`cwd\\`.",
|
|
"properties": {
|
|
"baseRef": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"branch": {
|
|
"type": "string"
|
|
},
|
|
"cwd": {
|
|
"description": "Repository-relative workspace cwd to use as the source checkout.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"dirtyPolicy": {
|
|
"$ref": "#/definitions/WorktreeDirtyPolicy"
|
|
}
|
|
},
|
|
"required": [
|
|
"branch",
|
|
"dirtyPolicy"
|
|
],
|
|
"title": "WorktreeCreateParams",
|
|
"type": "object"
|
|
} |