fsprobe: add fsprobe crate

Summary: This utility will be used to measure latency and throughput of EdenFS

Reviewed By: kulshrax

Differential Revision: D29824747

fbshipit-source-id: f5298125bdaa16ccd52cb00a6bc3cd544c0967b7
This commit is contained in:
Andrey Chursin 2021-07-22 16:10:59 -07:00 committed by Facebook GitHub Bot
parent 277f796db9
commit b7f8d625bf
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,7 @@
[package]
name = "fsprobe"
version = "0.1.0"
edition = "2018"
[dependencies]
structopt = "0.3"

View File

@ -0,0 +1,20 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2.
*/
use std::path::PathBuf;
use structopt::StructOpt;
#[derive(StructOpt)]
struct Cli {
path: PathBuf,
}
fn main() {
let args = Cli::from_args();
println!("{:?}", args.path);
}