ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/

fix more typos

+4 -4
+1 -1
wire/lib/src/cache/mod.rs
··· 155 155 156 156 pub async fn gc(&self) -> Result<(), sqlx::Error> { 157 157 // keep newest 30 AND 158 - // delete caches that refer to a blob w/ wrong schmea 158 + // delete caches that refer to a blob w/ wrong schema 159 159 sqlx::query!( 160 160 "delete from inspection_cache 161 161 where
+2 -2
wire/lib/src/commands/pty/mod.rs
··· 25 25 use crate::commands::CommandArguments; 26 26 use crate::commands::pty::input::watch_stdin_from_user; 27 27 use crate::errors::CommandError; 28 - use crate::{SubCommandModifiers, aquire_stdin_lock}; 28 + use crate::{SubCommandModifiers, acquire_stdin_lock}; 29 29 use crate::{ 30 30 commands::{ChildOutputMode, WireCommandChip}, 31 31 errors::HiveLibError, ··· 155 155 command.env(key, value); 156 156 } 157 157 158 - let clobber_guard = aquire_stdin_lock().await; 158 + let clobber_guard = acquire_stdin_lock().await; 159 159 let _guard = StdinTermiosAttrGuard::new().map_err(HiveLibError::CommandError)?; 160 160 let child = pty_pair 161 161 .slave
+1 -1
wire/lib/src/lib.rs
··· 63 63 64 64 pub static STDIN_CLOBBER_LOCK: LazyLock<Semaphore> = LazyLock::new(|| Semaphore::new(1)); 65 65 66 - pub async fn aquire_stdin_lock<'a>() -> Result<SemaphorePermit<'a>, AcquireError> { 66 + pub async fn acquire_stdin_lock<'a>() -> Result<SemaphorePermit<'a>, AcquireError> { 67 67 let result = STDIN_CLOBBER_LOCK.acquire().await?; 68 68 STATUS.lock().wipe_out(&mut stderr()); 69 69