Showing the changes to git-path/src (1 of 12 files). Show all
Unified · Split
| @@ -18,13 +18,13 @@ pub enum Error { · 17 unmodified lines | ||
| 18 | 18 | pub const MAX_SYMLINKS: u8 = 32; |
| 19 | 19 | |
| 20 | 20 | pub(crate) mod function { |
| 21 | − use crate::realpath::MAX_SYMLINKS; | |
| 22 | 21 | use std::path::{ |
| 23 | 22 | Component::{CurDir, Normal, ParentDir, Prefix, RootDir}, |
| 24 | 23 | Path, PathBuf, |
| 25 | 24 | }; |
| 26 | 25 | |
| 27 | 26 | use super::Error; |
| 27 | + use crate::realpath::MAX_SYMLINKS; | |
| 28 | 28 | |
| 29 | 29 | /// Check each component of `path` and see if it is a symlink. If so, resolve it. |
| 30 | 30 | /// Do not fail for non-existing components, but assume these are as is. |