From 0b3a801065345d28add2b211c49dfe67941a969f Mon Sep 17 00:00:00 2001 From: Chenhao Zuo Date: Thu, 30 Jan 2025 14:31:40 -0800 Subject: [PATCH] Add doc for `with_inputs` for `actins.write` Summary: Add doc for `with_inputs` for `actins.write` Reviewed By: perehonchuk Differential Revision: D68911194 fbshipit-source-id: 5807be38f10d4b36044a8c41ff6c3672680e0186 --- app/buck2_action_impl/src/context/write.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/app/buck2_action_impl/src/context/write.rs b/app/buck2_action_impl/src/context/write.rs index f3458922ed11c..0444fc9ba11d5 100644 --- a/app/buck2_action_impl/src/context/write.rs +++ b/app/buck2_action_impl/src/context/write.rs @@ -123,6 +123,7 @@ pub(crate) fn analysis_actions_methods_write(methods: &mut MethodsBuilder) { /// * If it is true, the result will be a pair of the `artifact` containing content and a /// list of artifact values that were written by macros, which should be used in hidden /// fields or similar + /// * `with_inputs` (optional): if set, add artifacts in `content` as associated artifacts of the return `artifact`. /// * `absolute` (optional): if set, this action will produce absolute paths in its output when /// rendering artifact paths. You generally shouldn't use this if you plan to use this action /// as the input for anything else, as this would effectively result in losing all shared