Feature gate: #![feature(path_file_prefix)]
This is a tracking issue for an implementation of the method std::path::Path::file_prefix
. It is effectively a "left" variant of the existing file_stem
method.
use std::path::Path; let path = Path::new("foo.tar.gz"); assert_eq!(path.file_prefix(), Some("foo"));Steps / History
lambda-fairy, mikekasprzak, schwern, cyqsimon, fedorsykora and 19 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4