1// SPDX-FileCopyrightText: 2025 The Project Pterodactyl Developers 2// 3// SPDX-License-Identifier: MPL-2.0 4 5import Foundation 6import llbuild2fx 7import TSCBasic 8 9struct UnitName: Codable, Equatable, Hashable { 10 var name: String 11} 12 13extension UnitName: FXValue {} 14 15extension UnitName { 16 static func fromPath(_ path: AbsolutePath) -> Self { 17 Self(name: path.basenameWithoutExt) 18 } 19}