   public var isSymlink: Bool { return (mode & S_IFMT) == S_IFLNK }
 
   public var statMode: StatMode {
-    _statMode.mode = mode
-    return _statMode
+    return StatMode(mode: mode)
   }
 
   public var description: String {

}


public class StatMode: CustomStringConvertible {

  var mode: UInt32


    self.buffer = buffer
  }

  mutating public func stat(path: String) -> Bool {
    return Sys.doStat(path, buffer: &buffer) == 0
  }

  mutating public func lstat(path: String) -> Bool {
    return Sys.lstat(path, buffer: &buffer) == 0
  }

