File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ impl ProjectRelativePath {
2929 }
3030
3131 /// ```
32- /// use buck2 ::types::ProjectRelativePath;
32+ /// use api-models ::types::ProjectRelativePath;
3333 /// assert_eq!(
3434 /// ProjectRelativePath::new("foo/bar.bzl").extension(),
3535 /// Some("bzl")
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ impl ActiveModelBehavior for ActiveModel {}
3939
4040#[ allow( dead_code) ]
4141trait BuildModel {
42- /// Crete a new build event ActiveModel for database insertion
42+ /// Create a new build event ActiveModel for database insertion
4343 fn create_build_event (
4444 build_event_id : Uuid ,
4545 task_id : Uuid ,
Original file line number Diff line number Diff line change @@ -471,8 +471,8 @@ pub async fn task_handler(
471471 let result: OrionBuildResult = handle_immediate_task_dispatch (
472472 state. clone ( ) ,
473473 task_id,
474- & req. cl_link ,
475474 & req. repo ,
475+ & req. cl_link ,
476476 req. changes . clone ( ) ,
477477 None ,
478478 )
Original file line number Diff line number Diff line change 1- // / *
2- // * Copyright (c) Meta Platforms, Inc. and affiliates.
3- // *
4- // * This source code is dual-licensed under either the MIT license found in the
5- // * LICENSE-MIT file in the root directory of this source tree or the Apache
6- // * License, Version 2.0 found in the LICENSE-APACHE file in the root directory
7- // * of this source tree. You may select, at your option, one of the
8- // * above-listed licenses.
9- // */
10- // pub mod status;
1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is dual-licensed under either the MIT license found in the
5+ * LICENSE-MIT file in the root directory of this source tree or the Apache
6+ * License, Version 2.0 found in the LICENSE-APACHE file in the root directory
7+ * of this source tree. You may select, at your option, one of the
8+ * above-listed licenses.
9+ */
10+ pub mod status;
Original file line number Diff line number Diff line change 1- // / *
2- // * Copyright (c) Meta Platforms, Inc. and affiliates.
3- // *
4- // * This source code is dual-licensed under either the MIT license found in the
5- // * LICENSE-MIT file in the root directory of this source tree or the Apache
6- // * License, Version 2.0 found in the LICENSE-APACHE file in the root directory
7- // * of this source tree. You may select, at your option, one of the
8- // * above-listed licenses.
9- // */
1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is dual-licensed under either the MIT license found in the
5+ * LICENSE-MIT file in the root directory of this source tree or the Apache
6+ * License, Version 2.0 found in the LICENSE-APACHE file in the root directory
7+ * of this source tree. You may select, at your option, one of the
8+ * above-listed licenses.
9+ */
1010
1111// use std::{fs, path::Path};
1212
You can’t perform that action at this time.
0 commit comments