Sha256: 6c8f4281f639945b9ab2b60a8f397f1ae929fb37ac6fbcd807125e88d8a1f727

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

#--
# =============================================================================
# Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
# All rights reserved.
#
# This source file is distributed as part of the Net::SFTP Secure FTP Client
# library for Ruby. This file (and the library as a whole) may be used only as
# allowed by either the BSD license, or the Ruby license (or, by association
# with the Ruby license, the GPL). See the "doc" subdirectory of the Net::SFTP
# distribution for the texts of these licenses.
# -----------------------------------------------------------------------------
# net-sftp website: http://net-ssh.rubyforge.org/sftp
# project website : http://rubyforge.org/projects/net-ssh
# =============================================================================
#++

require 'net/sftp/operations/abstract'

module Net ; module SFTP ; module Operations

  # The implementation of the +fstat+ operation.
  class Fstat < Abstract

    # Ask the server for the attributes of the file/directory represented by
    # the given handle.
    def perform( handle )
      @driver.fstat( nil, handle )
    end

  end

end ; end ; end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
net-sftp-0.5.0 lib/net/sftp/operations/fstat.rb
net-sftp-0.9.0 lib/net/sftp/operations/fstat.rb
net-sftp-1.0.0 lib/net/sftp/operations/fstat.rb
net-sftp-1.0.1 lib/net/sftp/operations/fstat.rb