Remove workstream/decision tags and section banners from comments
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
This commit is contained in:
1 parent
e39d885fae
commit
8b3f91dcb7
17 files changed
+19
-35
No files matched your search
@@ -26,8 +26,6 @@ use tokio::sync::mpsc;
|
||||
|
||||
use crate::error::AppError;
|
||||
|
||||
// ---------------------------------------------------------------- systemd
|
||||
|
||||
/// One row of `ListUnits`.
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema)]
|
||||
pub struct UnitSummary {
|
||||
@@ -89,8 +87,6 @@ pub trait SystemdSource: Send + Sync {
|
||||
async fn unit_status(&self, name: &str) -> Result<UnitStatus, AppError>;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------- journal
|
||||
|
||||
/// Syslog severity, 0 (most severe) to 7.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[repr(u8)]
|
||||
@@ -251,8 +247,6 @@ pub trait JournalSource: Send + Sync {
|
||||
async fn follow(&self, q: &JournalQuery) -> Result<mpsc::Receiver<JournalEntry>, AppError>;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------- docker
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema)]
|
||||
pub struct ContainerSummary {
|
||||
/// Full container id.
|
||||
@@ -322,8 +316,6 @@ pub trait DockerSource: Send + Sync {
|
||||
) -> Result<mpsc::Receiver<LogLine>, AppError>;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------- helpers
|
||||
|
||||
/// Default value of `JournalQuery.lines` and `LogOptions.tail`.
|
||||
pub const DEFAULT_LINES: usize = 100;
|
||||
|
||||
|
||||
Reference in new issue
Block a user