systemd-journal-sdk-registry 0.7.8

Directory registry primitives for the pure Rust systemd journal SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Metadata types for journal files
//!
//! This module provides metadata tracking for journal files, including time ranges
//! derived from indexing operations.

use crate::TimeRange;
use crate::repository::File;

/// Pairs a File with its TimeRange.
#[derive(Debug, Clone)]
pub struct FileInfo {
    /// The journal file
    pub file: File,
    /// Time range from its file index
    pub time_range: TimeRange,
}