filename

Crates.iofilename
lib.rsfilename
version0.1.1
sourcesrc
created_at2019-07-24 03:08:46.40976
updated_at2019-07-24 07:07:19.640771
descriptionGet filename from a raw file descriptor
homepage
repositoryhttps://github.com/flier/rust-filename
max_upload_size
id151209
size9,806
Flier Lu (flier)

documentation

README

filename travis Build status crate docs dependency status

Get filename from a raw file descriptor

Usage

To use filename in your project, add the following to your Cargo.toml:

[dependencies]
filename = "0.1"

Example

use filename::file_name;

let f = tempfile::tempfile().unwrap();

println!("tempfile @ {:?}", file_name(&f).unwrap());
Commit count: 10

cargo fmt