facebook / facebook/buck2

How to get an `artifact`'s parent directory?

Open
#723 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

Up until now, I have been following the [documentation](https://buck2.build/docs/api/build/artifact/)'s suggestion of using `cmd_args(my_artifact).parent()` for this, but it doesn't work anymore as of the `2024-07-01` release. What is the suggested alternative?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.