Skip to content

Commit 22f75c6

Browse files
authored
Merge pull request #5 from SamD2021/copilot/fix-3
Add SPDX license headers to all Rust source files
2 parents 76ce709 + 5392ee8 commit 22f75c6

13 files changed

Lines changed: 13 additions & 0 deletions

File tree

lowell-cli/src/cli/inspect/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
mod uki;
23

34
use anyhow::Result;

lowell-cli/src/cli/inspect/uki.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
use anyhow::Result;
23
use clap::{Args, ValueEnum};
34
use lowell_core::inspect::uki::{self, Report, UkiOptions};

lowell-cli/src/cli/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
use anyhow::Result;
23
use clap::{Args, Parser, Subcommand, ValueEnum};
34

lowell-cli/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
use anyhow::Result;
23

34
mod cli;

lowell-cli/src/tracing_init.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
use anyhow::Result;
23
use tracing_subscriber::{fmt, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter};
34

lowell-core/src/formats/initramfs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
use std::fmt;
23
#[derive(serde::Serialize, Debug, PartialEq, Eq)]
34
#[serde(rename_all = "lowercase")]

lowell-core/src/formats/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
pub mod initramfs;
23
pub mod osrel;
34
pub mod pe;

lowell-core/src/formats/osrel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
use crate::formats::pe::PeFile;
23
use anyhow::Result;
34
use rs_release::parse_os_release_str;

lowell-core/src/formats/pe.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
//! PE/COFF helpers for Unified Kernel Images (UKI)
23
//!
34
//! Read-only introspection of PE/EFI images (UKIs) with small, ergonomic helpers.

lowell-core/src/inspect/ext.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
12
//! Extension helpers for working with PE sections in the `uki` layer.
23
//!
34
//! Purpose: keep `formats::pe::PeFile` **format-agnostic** and small,

0 commit comments

Comments
 (0)