71件ヒット
[1-71件を表示]
(0.128秒)
ライブラリ
- ビルトイン (21)
-
net
/ ftp (9) - pathname (11)
- shell (6)
-
shell
/ command-processor (12) -
shell
/ filter (12)
クラス
- File (10)
-
File
:: Stat (11) -
Net
:: FTP :: MLSxEntry (9) - Pathname (11)
- Shell (6)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12)
検索結果
先頭5件
-
Shell
:: CommandProcessor # atime(filename) -> Time (27409.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
:: Filter # atime(filename) -> Time (27409.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
File
# birthtime -> Time (12424.0) -
作成された時刻を Time オブジェクトとして返します。
...た時刻を Time オブジェクトとして返します。
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
@raise NotImplementedError Windows のような birthtime のない......環境で発生します。
File.new("testfile").birthtime #=> Wed Apr 09 08:53:14 CDT 2003
@see File#lstat, File#atime, File#ctime, File#mtime... -
File
:: Stat # birthtime -> Time (12408.0) -
作成された時刻を返します。
...。
@raise NotImplementedError Windows のような birthtime のない環境で発生します。
//emlist[][ruby]{
File.write("testfile", "foo")
sleep 10
File.write("testfile", "bar")
sleep 10
File.chmod(0644, "testfile")
sleep 10
File.read("testfile")
File.stat("testfile").birthtime #=> 2014......-02-24 11:19:17 +0900
File.stat("testfile").mtime #=> 2014-02-24 11:19:27 +0900
File.stat("testfile").ctime #=> 2014-02-24 11:19:37 +0900
File.stat("testfile").atime #=> 2014-02-24 11:19:47 +0900
//}... -
Shell
:: CommandProcessor # utime(atime , mtime , *filename) -> Integer (9620.0) -
File クラスにある同名のクラスメソッドと同じです.
...ram filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
:: Filter # utime(atime , mtime , *filename) -> Integer (9620.0) -
File クラスにある同名のクラスメソッドと同じです.
...ram filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Pathname
# utime(atime , mtime) -> Integer (6636.0) -
File.utime(atime, mtime, self.to_s) と同じです。
...File.utime(atime, mtime, self.to_s) と同じです。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param mtime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
# utime(atime , mtime , *filename) -> Integer (6620.0) -
File クラスにある同名のクラスメソッドと同じです.
...ram filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (3526.0) -
そのエントリの「facts」を返します。
...9 では
modify, perm, type, size, unique はすべてのサーバで
対応すべき(SHOULD)、とされています。
* "modify" : 変更時刻 (Time)
* "create": 作成時刻
* "perm": パーミッション(String)
* "type": 種類(String, "file", "dir", "cdir", "pdir" など)
* "siz......e": ファイルサイズ (Integer, octet単位)
* "unique": ユニークID (String)
* "lang": ファイルの言語 (String)
* "media-type": メディアタイプ (String)
* "charset": 文字エンコーディング (String)
サーバが UNIX 系 OS の場合は以下のような facts.......mode": ファイルモード(Integer)
* "unix.group": グループ(Integer)
* "unix.owner": ファイルのオーナー(Integer)
* "unix.atime": ファイルに最後にアクセスした時刻 (Time)
* "unix.ctime": ファイルを作成した時刻 (Time)
これ以外の非標準的な f...