-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image-rs: Redefine the construction of ImageConfig
ImageConfig represents the configuration of an image. Previously, we used the `CC_IMAGE_WORK_DIR` environment variable to set the image work directory, but this was not flexible or reliable enough for different use cases. Now, we provide a `new()` method that takes the image work directory as an argument, and returns an ImageConfig instance with that directory. This way, consumers can customize the image work directory as they need. Signed-off-by: ChengyuZhu6 <chengyu.zhu@intel.com>
- Loading branch information
ChengyuZhu6
committed
Dec 22, 2023
1 parent
4ddac38
commit aa6989f
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters