chapter 6 FD

master
peshwar9 4 years ago
parent cd14c8480b
commit ced181bcad

@ -52,9 +52,9 @@ dependencies = [
[[package]]
name = "hermit-abi"
version = "0.1.15"
version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
dependencies = [
"libc",
]
@ -67,9 +67,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
version = "0.2.76"
version = "0.2.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "755456fae044e6fa1ebbbd1b3e902ae19e73097ed4ed87bb79934a867c007bc3"
checksum = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614"
[[package]]
name = "proc-macro-error"
@ -97,9 +97,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.19"
version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04f5f085b5d71e2188cb8271e5da0161ad52c3f227a661a3c135fdf28e258b12"
checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
dependencies = [
"unicode-xid",
]
@ -128,9 +128,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "structopt"
version = "0.3.17"
version = "0.3.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6cc388d94ffabf39b5ed5fadddc40147cb21e605f53db6f8f36a625d27489ac5"
checksum = "126d630294ec449fae0b16f964e35bf3c74f940da9dca17ee9b905f7b3112eb8"
dependencies = [
"clap",
"lazy_static",
@ -139,9 +139,9 @@ dependencies = [
[[package]]
name = "structopt-derive"
version = "0.4.10"
version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e2513111825077552a6751dfad9e11ce0fba07d7276a3943a037d7e93e64c5f"
checksum = "65e51c492f9e23a220534971ff5afc14037289de430e3c83f9daf6a1b6ae91e8"
dependencies = [
"heck",
"proc-macro-error",
@ -152,9 +152,9 @@ dependencies = [
[[package]]
name = "syn"
version = "1.0.39"
version = "1.0.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "891d8d6567fe7c7f8835a3a98af4208f3846fba258c1bc3c31d6e506239f11f9"
checksum = "cc371affeffc477f42a221a1e4297aedcea33d47d19b61455588bd9d8f6b19ac"
dependencies = [
"proc-macro2",
"quote",

@ -4,7 +4,5 @@ version = "0.1.0"
authors = ["peshwar9"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
structopt = "0.3.16"
structopt = "0.3.16"

@ -1,17 +1,14 @@
use std::fmt;
use std::io;
#[derive(Debug)]
pub struct StatsError {
pub message: String,
}
impl fmt::Display for StatsError {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
write!(f, "{}", self)
}
}
impl From<&str> for StatsError {
fn from(s: &str) -> Self {
StatsError {
@ -27,7 +24,6 @@ impl From<io::Error> for StatsError {
}
}
}
impl From<std::num::TryFromIntError> for StatsError {
fn from(_e: std::num::TryFromIntError) -> Self {
StatsError {

@ -2,10 +2,8 @@ use std::path::PathBuf;
use structopt::StructOpt;
mod srcstats;
use srcstats::get_summary_src_stats;
mod errors;
use errors::StatsError;
#[derive(Debug, StructOpt)]
#[structopt(
name = "rstat",
@ -17,7 +15,6 @@ struct Opt {
#[structopt(name = "mode", short)]
mode: String,
}
fn main() -> Result<(), StatsError> {
let opt = Opt::from_args();
let mode = &opt.mode[..];

@ -5,7 +5,6 @@ use std::fs;
use std::fs::DirEntry;
use std::path::{Path, PathBuf};
// Struct to hold the stats
#[derive(Debug)]
pub struct SrcStats {
pub number_of_files: u32,
@ -14,39 +13,12 @@ pub struct SrcStats {
pub blanks: u32,
}
pub fn get_src_stats_for_file(file_name: &Path) -> Result<SrcStats, StatsError> {
let file_contents = fs::read_to_string(file_name)?;
let mut loc = 0;
let mut blanks = 0;
let mut comments = 0;
for line in file_contents.lines() {
if line.len() == 0 {
blanks += 1;
} else if line.starts_with("//") {
comments += 1;
} else {
loc += 1;
}
}
let source_stats = SrcStats {
number_of_files: u32::try_from(file_contents.lines().count())?,
loc: loc,
comments: comments,
blanks: blanks,
};
Ok(source_stats)
}
pub fn get_summary_src_stats(in_dir: &Path) -> Result<SrcStats, StatsError> {
let mut total_loc = 0;
let mut total_comments = 0;
let mut total_blanks = 0;
let mut dir_entries: Vec<PathBuf> = vec![in_dir.to_path_buf()];
let mut file_entries: Vec<DirEntry> = vec![];
// Recursively iterate over directory entries to get flat list of .rs files
while let Some(entry) = dir_entries.pop() {
for inner_entry in fs::read_dir(&entry)? {
if let Ok(entry) = inner_entry {
@ -68,7 +40,6 @@ pub fn get_summary_src_stats(in_dir: &Path) -> Result<SrcStats, StatsError> {
total_blanks += stat.blanks;
total_comments += stat.comments;
}
Ok(SrcStats {
number_of_files: u32::try_from(file_count)?,
loc: total_loc,
@ -76,3 +47,26 @@ pub fn get_summary_src_stats(in_dir: &Path) -> Result<SrcStats, StatsError> {
blanks: total_blanks,
})
}
pub fn get_src_stats_for_file(file_name: &Path) -> Result<SrcStats, StatsError> {
let file_contents = fs::read_to_string(file_name)?;
let mut loc = 0;
let mut blanks = 0;
let mut comments = 0;
for line in file_contents.lines() {
if line.len() == 0 {
blanks += 1;
} else if line.trim_start().starts_with("//") {
comments += 1;
} else {
loc += 1;
}
}
let source_stats = SrcStats {
number_of_files: u32::try_from(file_contents.lines().count())?,
loc: loc,
comments: comments,
blanks: blanks,
};
Ok(source_stats)
}

@ -3,7 +3,7 @@ use std::io::{stdin, stdout};
use std::process::Command;
fn main() {
loop {
print!("$");
print!("$ ");
stdout().flush().unwrap();
let mut user_input = String::new();
stdin()

@ -4,7 +4,7 @@ use std::process::Command;
fn main() {
loop {
print!("$");
print!("$ ");
stdout().flush().unwrap();
let mut user_input = String::new();
stdin()

@ -5,7 +5,7 @@ use std::process::Command;
fn main() {
println!("Hello! Welcome to Myshell");
loop {
print!("$");
print!("$ ");
stdout().flush().unwrap();
let mut user_input = String::new();
stdin()
@ -37,8 +37,7 @@ fn main() {
};
match child {
Ok(mut child) => {
if child.wait().unwrap().success() {
} else {
if !child.wait().unwrap().success() {
println!("\n{}", "Child process failed")
}
}

@ -0,0 +1 @@
{"rustc_fingerprint":4503571881771466578,"outputs":{"4476964694761187371":["___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/prabhueshwarla/.rustup/toolchains/stable-x86_64-apple-darwin\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_feature=\"ssse3\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n",""],"1164083562126845933":["rustc 1.43.0 (4fb7144ed 2020-04-20)\nbinary: rustc\ncommit-hash: 4fb7144ed159f94491249e86d5bbd033b5d60550\ncommit-date: 2020-04-20\nhost: x86_64-apple-darwin\nrelease: 1.43.0\nLLVM version: 9.0\n",""]},"successes":{}}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":7769495828907550557,"profile":14672114853574311971,"path":17978127198865149935,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/arc-swap-8bf521bbb97717a8/dep-lib-arc_swap-8bf521bbb97717a8"}}],"rustflags":[],"metadata":5403683474337919509}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[\"default\", \"std\"]","target":10088282520713642473,"profile":9935990280773120926,"path":5668189319116796272,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-c09e8ee8b5d2cfeb/dep-build-script-build_script_build-c09e8ee8b5d2cfeb"}}],"rustflags":[],"metadata":14998826085014762512}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"","target":0,"profile":0,"path":0,"deps":[[15839404612938784224,"build_script_build",false,2440716493253872494]],"local":[{"Precalculated":"0.2.77"}],"rustflags":[],"metadata":0}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[\"default\", \"std\"]","target":15220052048028810702,"profile":14672114853574311971,"path":17141904341920083751,"deps":[[15839404612938784224,"build_script_build",false,6593907345289603251]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-c6c7e72937a09c21/dep-lib-libc-c6c7e72937a09c21"}}],"rustflags":[],"metadata":14998826085014762512}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":3779090933834725706,"profile":1647870076477133176,"path":8614225337931830846,"deps":[[16146517112962250453,"signal_hook",false,4781934258960965705]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/myshell-4a230df71cc4a53d/dep-test-bin-iter2-4a230df71cc4a53d"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":5524743927054684670,"profile":1647870076477133176,"path":8359889324943501007,"deps":[[16146517112962250453,"signal_hook",false,4781934258960965705]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/myshell-9d7ed183b90f11e5/dep-test-bin-iter1-9d7ed183b90f11e5"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":3779090933834725706,"profile":14891217944882224483,"path":8614225337931830846,"deps":[[16146517112962250453,"signal_hook",false,4781934258960965705]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/myshell-b5e1356f9653d959/dep-bin-iter2-b5e1356f9653d959"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":5524743927054684670,"profile":14891217944882224483,"path":8359889324943501007,"deps":[[16146517112962250453,"signal_hook",false,4781934258960965705]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/myshell-ce354c228a26eb2e/dep-bin-iter1-ce354c228a26eb2e"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":5315428249130279951,"profile":14891217944882224483,"path":2006210273669501031,"deps":[[16146517112962250453,"signal_hook",false,4781934258960965705]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/myshell-cf53089a5eadc167/dep-bin-iter3-cf53089a5eadc167"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":5315428249130279951,"profile":1647870076477133176,"path":2006210273669501031,"deps":[[16146517112962250453,"signal_hook",false,4781934258960965705]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/myshell-de37f18890843faa/dep-test-bin-iter3-de37f18890843faa"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":96680986830323986,"profile":14672114853574311971,"path":5451802912678436059,"deps":[[2102304134188301628,"signal_hook_registry",false,16384833267052773235],[15839404612938784224,"libc",false,4371934544651815900]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/signal-hook-e0628f0be09b0325/dep-lib-signal_hook-e0628f0be09b0325"}}],"rustflags":[],"metadata":740907220319991922}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":17412909115425170117,"profile":14672114853574311971,"path":912204364448912419,"deps":[[7746290385362245390,"arc_swap",false,11206879396799849146],[15839404612938784224,"libc",false,4371934544651815900]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/signal-hook-registry-e474ff654680bd11/dep-lib-signal_hook_registry-e474ff654680bd11"}}],"rustflags":[],"metadata":6760549636108522644}

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/build/libc-c09e8ee8b5d2cfeb/build_script_build-c09e8ee8b5d2cfeb: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/build.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/build/libc-c09e8ee8b5d2cfeb/build_script_build-c09e8ee8b5d2cfeb.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/build.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/build.rs:

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.build_script_build-c09e8ee8b5d2cfeb</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

@ -0,0 +1,8 @@
cargo:rustc-cfg=freebsd11
cargo:rustc-cfg=libc_priv_mod_use
cargo:rustc-cfg=libc_union
cargo:rustc-cfg=libc_const_size_of
cargo:rustc-cfg=libc_align
cargo:rustc-cfg=libc_core_cvoid
cargo:rustc-cfg=libc_packedN
cargo:rustc-cfg=libc_cfg_target_vendor

@ -0,0 +1 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/build/libc-c3d2f05d5692145a/out

@ -0,0 +1,12 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/arc_swap-8bf521bbb97717a8.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/access.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/as_raw.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/cache.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/compile_fail_tests.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/debt.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/gen_lock.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/ref_cnt.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/arc_swap-8bf521bbb97717a8.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/access.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/as_raw.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/cache.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/compile_fail_tests.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/debt.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/gen_lock.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/ref_cnt.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/access.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/as_raw.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/cache.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/compile_fail_tests.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/debt.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/gen_lock.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.7/src/ref_cnt.rs:

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter1-9d7ed183b90f11e5.rmeta: src/iter1.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter1-9d7ed183b90f11e5.d: src/iter1.rs
src/iter1.rs:

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter1-ce354c228a26eb2e.rmeta: src/iter1.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter1-ce354c228a26eb2e.d: src/iter1.rs
src/iter1.rs:

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter2-4a230df71cc4a53d.rmeta: src/iter2.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter2-4a230df71cc4a53d.d: src/iter2.rs
src/iter2.rs:

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter2-b5e1356f9653d959.rmeta: src/iter2.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter2-b5e1356f9653d959.d: src/iter2.rs
src/iter2.rs:

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter3-cf53089a5eadc167.rmeta: src/iter3.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter3-cf53089a5eadc167.d: src/iter3.rs
src/iter3.rs:

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter3-de37f18890843faa.rmeta: src/iter3.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/iter3-de37f18890843faa.d: src/iter3.rs
src/iter3.rs:

@ -0,0 +1,34 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/libc-c6c7e72937a09c21.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/macros.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/fixed_width_ints.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/windows/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/cloudabi/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/fuchsia/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/switch.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/psp.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/vxworks/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/sgx.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/wasi.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/uclibc/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/newlib/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/linux_like/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/solarish/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/solarish/compat.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/haiku/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/redox/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/netbsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/freebsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b32/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b64/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b64/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/no_align.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/libc-c6c7e72937a09c21.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/macros.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/fixed_width_ints.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/windows/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/cloudabi/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/fuchsia/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/switch.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/psp.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/vxworks/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/sgx.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/wasi.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/uclibc/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/newlib/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/linux_like/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/solarish/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/solarish/compat.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/haiku/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/redox/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/netbsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/freebsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b32/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b64/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b64/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/no_align.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/macros.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/fixed_width_ints.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/windows/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/cloudabi/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/fuchsia/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/switch.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/psp.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/vxworks/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/hermit/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/sgx.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/wasi.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/uclibc/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/newlib/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/linux_like/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/solarish/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/solarish/compat.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/haiku/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/hermit/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/redox/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/netbsdlike/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/freebsdlike/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b32/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b64/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/bsd/apple/b64/align.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/align.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.77/src/unix/no_align.rs:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,9 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/signal_hook-e0628f0be09b0325.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/cleanup.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/flag.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/iterator.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/pipe.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/signal_hook-e0628f0be09b0325.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/cleanup.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/flag.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/iterator.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/pipe.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/cleanup.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/flag.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/iterator.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.16/src/pipe.rs:

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/signal_hook_registry-e474ff654680bd11.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-registry-1.2.1/src/lib.rs
/Users/prabhueshwarla/rust/author/packt/prod/chapter8/myshell/target/rls/debug/deps/signal_hook_registry-e474ff654680bd11.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-registry-1.2.1/src/lib.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/signal-hook-registry-1.2.1/src/lib.rs:

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save