page_code_basis
Resolve pending, unavailable, or moved code-basis rows after reading the code: confirm the page still holds so Wenlan revalidates it, or remove the page's reliance on those lines.
Instructions
Settle a code_basis row that is pending, unavailable or moved, after reading the code. confirm: the page still holds for the code as it reads now; Wenlan re-reads the file and sets the row ok. If it no longer holds, rewrite with write_page. remove: drop the reliance. Pass the row's repo_root, path, line_start, line_end. Local stdio only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | path exactly as read_page returned it. | |
| action | Yes | confirm: Wenlan reads the file again, recomputes the fingerprint from the code as it reads now, and the row returns to ok. Use after you read the changed code (git diff or the file) and decided the page still holds or after you rewrote it. remove: drop the reliance. | |
| page_id | Yes | The page that relies on the code. Opaque page id. | |
| line_end | Yes | line_end exactly as read_page returned it. | |
| repo_root | Yes | repo_root exactly as read_page returned it. | |
| line_start | Yes | line_start exactly as read_page returned it. |