(
session: &Service,
source: Option<pb::insert_changes_request::Source>,
target_view: Option<String>,
allow_conflicts: bool,
deps: bool,
dry_run: bool,
)
| 3910 | // --------------------------------------------------------------------------- |
| 3911 | |
| 3912 | fn insert_request( |
| 3913 | session: &Service, |
| 3914 | source: Option<pb::insert_changes_request::Source>, |
| 3915 | target_view: Option<String>, |
| 3916 | allow_conflicts: bool, |
| 3917 | deps: bool, |
| 3918 | dry_run: bool, |
| 3919 | ) -> pb::InsertChangesRequest { |
| 3920 | // Dependency closure is the wire's default; the CLI's --deps=false |
| 3921 | // escape hatch rides apply_dependencies explicitly (the handler |
| 3922 | // applies or skips the closure server-side); dry_run previews the |
| 3923 | // plan server-side without inserting. |
| 3924 | pb::InsertChangesRequest { |
| 3925 | repository: Some(session.reference.clone()), |
| 3926 | meta: None, |
| 3927 | apply_dependencies: Some(deps), |
| 3928 | source, |
| 3929 | target_view, |
| 3930 | allow_conflicts, |
| 3931 | target: None, |
| 3932 | expected_snapshot: None, |
| 3933 | source_snapshot: None, |
| 3934 | dry_run: Some(dry_run), |
| 3935 | tag_from_view: None, |
| 3936 | } |
| 3937 | } |
| 3938 | |
| 3939 | fn insert_rpc( |
| 3940 | session: &Service, |
no test coverage detected