jfsm 0.1.5

A command-line tool to read file system metadata then return it in JSON format (output and errors).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct JsonError {
    pub filepath: String,
    pub message: String,
}

impl JsonError {
    pub fn new(filepath: String, message: String) -> Self {
        Self {
            filepath,
            message,
        }
    }
}