예제 #1
0
 private unsafe int Release(path *path, fuse_file_info *fi)
 {
     try
     {
         _fileSystem.Release(ToSpan(path), ref ToFileInfoRef(fi));
         return(0);
     }
     catch
     {
         return(-EIO);
     }
 }
예제 #2
0
 private unsafe int Release(path *path, fuse_file_info *fi)
 {
     try
     {
         _fileSystem.Release(ToSpan(path), ref ToFileInfoRef(fi));
         return(0);
     }
     catch (Exception ex)
     {
         Console.WriteLine($"RELEASE gets error: {ex.Message} {ex.StackTrace}");
         return(-EIO);
     }
 }