Skip to main content

crap4rust/analysis/
source_function.rs

1// Copyright 2026 Umberto Gotti <umberto.gotti@umbertogotti.dev>
2// Licensed under the MIT License
3// SPDX-License-Identifier: MIT
4
5#[derive(Debug, Clone)]
6pub struct SourceFunction {
7    pub package_name: String,
8    pub name: String,
9    pub path_key: String,
10    pub relative_file: String,
11    pub line: usize,
12    pub end_line: usize,
13    pub complexity: u32,
14}