class Net::SFTP::Protocol::V01::Name

for use when displaying directory data, and has no specified format.
name, attributes about the item, and the “longname”, which is intended
Represents a single named item on the remote server. This includes the

def directory?

attributes, this will return nil, rather than a boolean.
examining the attributes. If there is insufficient information in the
Returns +true+ if the item appears to be a directory. It does this by
def directory?
  attributes.directory?
end

def file?

attributes, this will return nil, rather than a boolean.
examining the attributes. If there is insufficient information in the
Returns +true+ if the item appears to be a regular file. It does this by
def file?
  attributes.file?
end

def initialize(name, longname, attributes)

Create a new Name object with the given name, longname, and attributes.
def initialize(name, longname, attributes)
  @name, @longname, @attributes = name, longname, attributes
end

def symlink?

attributes, this will return nil, rather than a boolean.
examining the attributes. If there is insufficient information in the
Returns +true+ if the item appears to be a symlink. It does this by
def symlink?
  attributes.symlink?
end