Sha256: c6f4a7671b4c63bedf97a60e52e6028b1dcc6a2bb779baa6951adc5e71f7efbe

Contents?: true

Size: 1.55 KB

Versions: 36

Compression:

Stored size: 1.55 KB

Contents

module RubySMB
  module Fscc
    module FileInformation
      # The FileBothDirectoryInformation Class as defined in
      # [2.4.8 FileBothDirectoryInformation](https://msdn.microsoft.com/en-us/library/cc232095.aspx)
      class FileBothDirectoryInformation < BinData::Record
        CLASS_LEVEL = FileInformation::FILE_BOTH_DIRECTORY_INFORMATION

        endian :little

        uint32           :next_offset,        label: 'Next Entry Offset'
        uint32           :file_index,         label: 'File Index'
        file_time        :create_time,        label: 'Create Time'
        file_time        :last_access,        label: 'Last Accessed Time'
        file_time        :last_write,         label: 'Last Write Time'
        file_time        :last_change,        label: 'Last Modified Time'
        uint64           :end_of_file,        label: 'End of File'
        uint64           :allocation_size,    label: 'Allocated Size'
        file_attributes  :file_attributes,    label: 'File Attributes'
        uint32           :file_name_length,   label: 'File Name Length', initial_value: -> { file_name.do_num_bytes }
        uint32           :ea_size,            label: 'Extended Attributes Size'
        uint8            :short_name_length,  label: 'Short Name Length'
        uint8            :reserved,           label: 'Reserved Space'
        string16         :short_name,         label: 'File Short Name',           length: 24
        string16         :file_name,          label: 'File Name',                 read_length: -> { file_name_length }
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ruby_smb-3.1.1 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.1.0 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.0.6 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.0.5 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.0.4 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.0.3 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.0.2 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.0.1 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-3.0.0 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.13 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.12 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.11 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.10 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.9 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.8 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.7 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.6 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.5 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.4 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb
ruby_smb-2.0.3 lib/ruby_smb/fscc/file_information/file_both_directory_information.rb