public boolean isIdentical(FileStat other) { return dev() == other.dev() && ino() == other.ino(); }
public boolean isIdentical(FileStat other) { return dev() == other.dev() && ino() == other.ino(); }
public boolean isIdentical(FileStat other) { return dev() == other.dev() && ino() == other.ino(); }
public boolean isIdentical(FileStat other) { return dev() == other.dev() && ino() == other.ino(); }
public boolean isIdentical(FileStat other) { return dev() == other.dev() && ino() == other.ino(); }
@JRubyMethod(name = "dev") public IRubyObject dev() { return getRuntime().newFixnum(stat.dev()); }
@JRubyMethod(name = "dev") public IRubyObject dev() { return getRuntime().newFixnum(stat.dev()); }
public boolean isIdentical(FileStat other) { return dev() == other.dev() && ino() == other.ino(); }
public boolean isIdentical(FileStat other) { return dev() == other.dev() && ino() == other.ino(); }
@JRubyMethod(name = "dev") public IRubyObject dev() { checkInitialized(); return getRuntime().newFixnum(stat.dev()); }
@JRubyMethod(name = "dev_major") public IRubyObject devMajor() { return getRuntime().newFixnum(stat.major(stat.dev())); }
@JRubyMethod(name = "dev_major") public IRubyObject devMajor() { return getRuntime().newFixnum(stat.major(stat.dev())); }
@JRubyMethod(name = "dev_minor") public IRubyObject devMinor() { return getRuntime().newFixnum(stat.minor(stat.dev())); }
@JRubyMethod(name = "dev") public IRubyObject dev() { checkInitialized(); return getRuntime().newFixnum(stat.dev()); }
@JRubyMethod(name = "dev_minor") public IRubyObject devMinor() { return getRuntime().newFixnum(stat.minor(stat.dev())); }
@JRubyMethod(name = "dev_major") public IRubyObject devMajor() { checkInitialized(); if (Platform.IS_WINDOWS) return getRuntime().getNil(); return getRuntime().newFixnum(stat.major(stat.dev())); }
@JRubyMethod(name = "dev_minor") public IRubyObject devMinor() { checkInitialized(); if (Platform.IS_WINDOWS) return getRuntime().getNil(); return getRuntime().newFixnum(stat.minor(stat.dev())); }
@JRubyMethod(name = "dev_major") public IRubyObject devMajor() { checkInitialized(); if (Platform.IS_WINDOWS) return getRuntime().getNil(); return getRuntime().newFixnum(stat.major(stat.dev())); }
@JRubyMethod(name = "dev_minor") public IRubyObject devMinor() { checkInitialized(); if (Platform.IS_WINDOWS) return getRuntime().getNil(); return getRuntime().newFixnum(stat.minor(stat.dev())); }
public static PyStatResult fromFileStat(FileStat stat) { return new PyStatResult( Py.newInteger(stat.mode()), Py.newInteger(stat.ino()), Py.newLong(stat.dev()), Py.newInteger(stat.nlink()), Py.newInteger(stat.uid()), Py.newInteger(stat.gid()), Py.newInteger(stat.st_size()), Py.newFloat(stat.atime()), Py.newFloat(stat.mtime()), Py.newFloat(stat.ctime())); }