Skip to content

Commit a99294f

Browse files
committed
Rename imgstorage -> podstorage
Naming things is hard, but as of right now since this storage instance doesn't hold the booted host, let's call it `podstorage` to make clear is association and purpose in being used by podman and related tools. Signed-off-by: Colin Walters <[email protected]>
1 parent 3dded02 commit a99294f

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

crates/lib/src/boundimage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use fn_error_context::context;
1313
use ostree_ext::containers_image_proxy;
1414
use ostree_ext::ostree::Deployment;
1515

16-
use crate::imgstorage::{CStorage, PullMode};
16+
use crate::podstorage::{CStorage, PullMode};
1717
use crate::store::Storage;
1818

1919
/// The path in a root for bound images; this directory should only contain

crates/lib/src/image.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use serde::Serialize;
1414
use crate::{
1515
boundimage::query_bound_images,
1616
cli::{ImageListFormat, ImageListType},
17-
imgstorage::{ensure_floating_c_storage_initialized, CStorage},
17+
podstorage::{ensure_floating_c_storage_initialized, CStorage},
1818
};
1919

2020
/// The name of the image we push to containers-storage if nothing is specified.

crates/lib/src/install/completion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use ostree_ext::{gio, ostree};
1414
use rustix::fs::Mode;
1515
use rustix::fs::OFlags;
1616

17-
use crate::imgstorage::CStorage;
17+
use crate::podstorage::CStorage;
1818
use crate::utils::deployment_fd;
1919

2020
use super::config;

crates/lib/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ pub(crate) mod fsck;
1313
pub(crate) mod generator;
1414
mod glyph;
1515
mod image;
16-
mod imgstorage;
1716
pub(crate) mod journal;
1817
mod k8sapitypes;
1918
mod lints;
2019
mod lsm;
2120
pub(crate) mod metadata;
2221
mod podman;
22+
mod podstorage;
2323
mod progress_jsonl;
2424
mod reboot;
2525
pub mod spec;
File renamed without changes.

crates/lib/src/store/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ use ostree_ext::ostree;
3030
use ostree_ext::sysroot::SysrootLock;
3131
use rustix::fs::Mode;
3232

33-
use crate::imgstorage::CStorage;
3433
use crate::lsm;
34+
use crate::podstorage::CStorage;
3535
use crate::spec::ImageStatus;
3636
use crate::utils::deployment_fd;
3737

0 commit comments

Comments
 (0)