Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:CanonicalPath
(Results
1 - 2
of
2
) sorted by relevance
/third_party/rust/crates/which-rs/src/
H
A
D
lib.rs
505
/// `Path::canonicalize`, but `
CanonicalPath
` has the advantage of being a type distinct from
508
/// It can be beneficial to use `
CanonicalPath
` instead of `std::path::Path` when you want the type
512
/// Since `
CanonicalPath
` implements `Deref` for `std::path::Path`, all methods on
513
/// `&std::path::Path` are also available to `&
CanonicalPath
` values.
515
pub struct
CanonicalPath
{
structure names
519
impl
CanonicalPath
{
impls
522
/// This calls `which` and `Path::canonicalize` and maps the result into a `
CanonicalPath
`.
523
pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<
CanonicalPath
> {
in new()
526
.map(|inner|
CanonicalPath
{ inner })
in new()
531
/// This calls `which_all` and `Path::canonicalize` and maps the results into `
CanonicalPath
`
[all...]
/third_party/rust/crates/which-rs/tests/
H
A
D
basic.rs
91
fn _which<T: AsRef<OsStr>>(f: &TestFixture, path: T) -> which::Result<which::
CanonicalPath
> {
in _which()
92
which::
CanonicalPath
::new_in(path, Some(f.paths.clone()), f.tempdir.path())
in _which()
98
) -> which::Result<impl Iterator<Item = which::Result<which::
CanonicalPath
>> + '_> {
in _which_all()
99
which::
CanonicalPath
::all_in(path, Some(f.paths.clone()), f.tempdir.path())
in _which_all()
Completed in 2 milliseconds