Esempio n. 1
0
 private unsafe int Opendir(path *path, fuse_file_info *fi)
 {
     try
     {
         return(_fileSystem.OpenDir(ToSpan(path), ref ToFileInfoRef(fi)));
     }
     catch
     {
         return(-EIO);
     }
 }
Esempio n. 2
0
 private unsafe int Opendir(path *path, fuse_file_info *fi)
 {
     try
     {
         //Console.WriteLine("OPENDIR TOP - Fusemount");
         var fiF = new FuseFileInfo();
         return(_fileSystem.OpenDir(ToSpan(path), ref fiF));
         //return _fileSystem.OpenDir(ToSpan(path), ref ToFileInfoRef(fi));
     }
     catch (Exception ex)
     {
         Console.WriteLine($"OPENDIR gets error: {ex.Message}");
         return(-EIO);
     }
 }