@@ -2362,7 +2362,7 @@ impl AsInner<fs_imp::DirEntry> for DirEntry {
23622362#[ doc( alias = "rm" ,  alias = "unlink" ,  alias = "DeleteFile" ) ]  
23632363#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
23642364pub  fn  remove_file < P :  AsRef < Path > > ( path :  P )  -> io:: Result < ( ) >  { 
2365-     fs_imp:: unlink ( path. as_ref ( ) ) 
2365+     fs_imp:: remove_file ( path. as_ref ( ) ) 
23662366} 
23672367
23682368/// Given a path, queries the file system to get information about a file, 
@@ -2401,7 +2401,7 @@ pub fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> {
24012401#[ doc( alias = "stat" ) ]  
24022402#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
24032403pub  fn  metadata < P :  AsRef < Path > > ( path :  P )  -> io:: Result < Metadata >  { 
2404-     fs_imp:: stat ( path. as_ref ( ) ) . map ( Metadata ) 
2404+     fs_imp:: metadata ( path. as_ref ( ) ) . map ( Metadata ) 
24052405} 
24062406
24072407/// Queries the metadata about a file without following symlinks. 
@@ -2436,7 +2436,7 @@ pub fn metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
24362436#[ doc( alias = "lstat" ) ]  
24372437#[ stable( feature = "symlink_metadata" ,  since = "1.1.0" ) ]  
24382438pub  fn  symlink_metadata < P :  AsRef < Path > > ( path :  P )  -> io:: Result < Metadata >  { 
2439-     fs_imp:: lstat ( path. as_ref ( ) ) . map ( Metadata ) 
2439+     fs_imp:: symlink_metadata ( path. as_ref ( ) ) . map ( Metadata ) 
24402440} 
24412441
24422442/// Renames a file or directory to a new name, replacing the original file if 
@@ -2590,7 +2590,7 @@ pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
25902590#[ doc( alias = "CreateHardLink" ,  alias = "linkat" ) ]  
25912591#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
25922592pub  fn  hard_link < P :  AsRef < Path > ,  Q :  AsRef < Path > > ( original :  P ,  link :  Q )  -> io:: Result < ( ) >  { 
2593-     fs_imp:: link ( original. as_ref ( ) ,  link. as_ref ( ) ) 
2593+     fs_imp:: hard_link ( original. as_ref ( ) ,  link. as_ref ( ) ) 
25942594} 
25952595
25962596/// Creates a new symbolic link on the filesystem. 
@@ -2622,7 +2622,7 @@ pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(original: P, link: Q) -> io::Re
26222622
26232623) ] 
26242624pub  fn  soft_link < P :  AsRef < Path > ,  Q :  AsRef < Path > > ( original :  P ,  link :  Q )  -> io:: Result < ( ) >  { 
2625-     fs_imp:: symlink ( original. as_ref ( ) ,  link. as_ref ( ) ) 
2625+     fs_imp:: soft_link ( original. as_ref ( ) ,  link. as_ref ( ) ) 
26262626} 
26272627
26282628/// Reads a symbolic link, returning the file that the link points to. 
@@ -2656,7 +2656,7 @@ pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(original: P, link: Q) -> io::Re
26562656/// ``` 
26572657#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
26582658pub  fn  read_link < P :  AsRef < Path > > ( path :  P )  -> io:: Result < PathBuf >  { 
2659-     fs_imp:: readlink ( path. as_ref ( ) ) 
2659+     fs_imp:: read_link ( path. as_ref ( ) ) 
26602660} 
26612661
26622662/// Returns the canonical, absolute form of a path with all intermediate 
@@ -2832,7 +2832,7 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
28322832#[ doc( alias = "rmdir" ,  alias = "RemoveDirectory" ) ]  
28332833#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
28342834pub  fn  remove_dir < P :  AsRef < Path > > ( path :  P )  -> io:: Result < ( ) >  { 
2835-     fs_imp:: rmdir ( path. as_ref ( ) ) 
2835+     fs_imp:: remove_dir ( path. as_ref ( ) ) 
28362836} 
28372837
28382838/// Removes a directory at this path, after removing all its contents. Use 
@@ -2959,7 +2959,7 @@ pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
29592959#[ doc( alias = "ls" ,  alias = "opendir" ,  alias = "FindFirstFile" ,  alias = "FindNextFile" ) ]  
29602960#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
29612961pub  fn  read_dir < P :  AsRef < Path > > ( path :  P )  -> io:: Result < ReadDir >  { 
2962-     fs_imp:: readdir ( path. as_ref ( ) ) . map ( ReadDir ) 
2962+     fs_imp:: read_dir ( path. as_ref ( ) ) . map ( ReadDir ) 
29632963} 
29642964
29652965/// Changes the permissions found on a file or a directory. 
@@ -2995,7 +2995,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
29952995#[ doc( alias = "chmod" ,  alias = "SetFileAttributes" ) ]  
29962996#[ stable( feature = "set_permissions" ,  since = "1.1.0" ) ]  
29972997pub  fn  set_permissions < P :  AsRef < Path > > ( path :  P ,  perm :  Permissions )  -> io:: Result < ( ) >  { 
2998-     fs_imp:: set_perm ( path. as_ref ( ) ,  perm. 0 ) 
2998+     fs_imp:: set_permissions ( path. as_ref ( ) ,  perm. 0 ) 
29992999} 
30003000
30013001impl  DirBuilder  { 
0 commit comments