class
SSH2::SFTP::Attributes
- SSH2::SFTP::Attributes
- Reference
- Object
Overview
Wraps a remote file's SFTP attributes — size, owner, permissions and times —
as returned by File#fstat and Session#stat/#lstat.
Defined in:
sftp/attributes.crConstructors
Instance Method Summary
-
#atime
Last access time.
-
#atime=(v : Time)
Last access time.
-
#flags
Which attribute fields are populated.
-
#flags=(v : Flags)
Which attribute fields are populated.
-
#gid
Owner group id.
-
#gid=(v)
Owner group id.
-
#mtime
Last modification time.
-
#mtime=(v : Time)
Last modification time.
-
#permissions(v)
POSIX permission bits.
-
#permissions
POSIX permission bits.
-
#size
File size in bytes.
- #to_unsafe
-
#uid
Owner user id.
-
#uid=(v)
Owner user id.