-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcnb-package: Only expose functions/types publicly if they are actu…
…ally used (#750) In order to: - make the implementation of `libcnb-package` easier to reason about/refactor - reduce the number of APIs visible to consumers of `libcnb-package`, so it's easier for them to see which APIs they should be using In the case of `calculate_dir_size`, I've moved it back to `libcnb-cargo` (where it was originally), since it's only used there. I've checked that none of these APIs are used by our release automation: https://github.com/search?q=repo%3Aheroku%2Flanguages-github-actions+libcnb_package+language%3ARust&type=code&l=Rust (And longer term we should switch to having that automation call a new `libcnb-cargo` subcommand rather than use `libcnb-package` directly.) I've not added a changelog entry, since we document `libcnb-package` as being for internal use only and having no stability guarantees: https://github.com/heroku/libcnb.rs/blob/main/libcnb-package/README.md GUS-W-14512388.
- Loading branch information
Showing
7 changed files
with
34 additions
and
40 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
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
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
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