Skip to main content

Module walk

Module walk 

Source
Expand description

An iterator to resolve and canonicalize a filename.

Re-exportsΒ§

use crate::Error; πŸ”’
use crate::Result; πŸ”’
use std::collections::HashMap; πŸ”’
use std::ffi::OsString; πŸ”’
use std::fs::Metadata; πŸ”’
use std::io; πŸ”’
use std::iter::FusedIterator; πŸ”’
use std::path::Path; πŸ”’
use std::path::PathBuf; πŸ”’
use std::sync::Arc; πŸ”’

StructsΒ§

Component πŸ”’
A single piece of a path.
ResolvePath πŸ”’
An iterator to resolve and canonicalize a filename, imitating the actual filesystem’s lookup behavior.

EnumsΒ§

PathType πŸ”’
The type of a single path inspected by Verifier.

ConstantsΒ§

MAX_STEPS πŸ”’
How many steps are we willing to take in resolving a path?

FunctionsΒ§

push_prefix πŸ”’
Push the string representation of each component of path onto stack, from last to first, so that the first component of path winds up on the top of the stack.