View Source SFTPClient.SSHXferAttr (SFTP Client v2.0.0)

A struct that contains file and directory meta data.

Summary

Functions

Converts a record of the :ssh_xfer_attr type into this struct.

Types

@type t() :: %SFTPClient.SSHXferAttr{
  acl: term(),
  atime: :calendar.datetime(),
  atime_nseconds: term(),
  attrib_bits: term(),
  createtime: :calendar.datetime(),
  createtime_nseconds: term(),
  extensions: term(),
  group: term(),
  mtime: :calendar.datetime(),
  mtime_nseconds: term(),
  owner: term(),
  permissions: term(),
  size: non_neg_integer(),
  type: atom()
}

Functions

@spec from_record(tuple()) :: t()

Converts a record of the :ssh_xfer_attr type into this struct.