MCPcopy Create free account
hub / github.com/bootc-dev/bootc / print_deprecated_warning

Function print_deprecated_warning

crates/ostree-ext/src/cli.rs:680–683  ·  view source on GitHub ↗

Write a deprecation notice, and sleep for 3 seconds.

(msg: &str)

Source from the content-addressed store, hash-verified

678
679/// Write a deprecation notice, and sleep for 3 seconds.
680pub async fn print_deprecated_warning(msg: &str) {
681 eprintln!("warning: {msg}");
682 tokio::time::sleep(std::time::Duration::from_secs(3)).await
683}
684
685/// Import a container image with an encapsulated ostree commit.
686async fn container_import(

Callers 5

prepare_for_pullFunction · 0.85
prepare_for_pull_unifiedFunction · 0.85
container_importFunction · 0.85
container_storeFunction · 0.85
deployFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected