@@ -4,20 +4,20 @@ use crate::defs::{
44use crate :: magic_mount:: NodeFileType :: { Directory , RegularFile , Symlink , Whiteout } ;
55use crate :: restorecon:: { lgetfilecon, lsetfilecon} ;
66use crate :: utils:: ensure_dir_exists;
7- use anyhow:: { bail , Context , Result } ;
7+ use anyhow:: { Context , Result , bail } ;
88use extattr:: lgetxattr;
99use rustix:: fs:: {
10- bind_mount , chmod , chown , mount , move_mount , unmount , Gid , MetadataExt , Mode , MountFlags ,
11- MountPropagationFlags , Uid , UnmountFlags ,
10+ Gid , MetadataExt , Mode , MountFlags , MountPropagationFlags , Uid , UnmountFlags , bind_mount ,
11+ chmod , chown , mount , move_mount , unmount ,
1212} ;
1313use rustix:: mount:: mount_change;
1414use rustix:: path:: Arg ;
1515use std:: cmp:: PartialEq ;
16- use std:: collections:: hash_map:: Entry ;
1716use std:: collections:: HashMap ;
17+ use std:: collections:: hash_map:: Entry ;
1818use std:: fs;
19- use std:: fs:: { create_dir , create_dir_all , read_dir , read_link , DirEntry , FileType } ;
20- use std:: os:: unix:: fs:: { symlink , FileTypeExt } ;
19+ use std:: fs:: { DirEntry , FileType , create_dir , create_dir_all , read_dir , read_link } ;
20+ use std:: os:: unix:: fs:: { FileTypeExt , symlink } ;
2121use std:: path:: { Path , PathBuf } ;
2222
2323const REPLACE_DIR_XATTR : & str = "trusted.overlay.opaque" ;
0 commit comments