Sha256: 5047733f79c4ebdd7cd8f17eb600383252a6a46590816dcfa0aa90d9d0cfee45

Contents?: true

Size: 1.33 KB

Versions: 28

Compression:

Stored size: 1.33 KB

Contents

module RubySMB
  module Fscc
    module FileInformation
      # The FileFullDirectoryInformation Class as defined in
      # [2.4.14 FileFullDirectoryInformation](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/e8d926d1-3a22-4654-be9c-58317a85540b)
      class FileFullDirectoryInformation < BinData::Record
        CLASS_LEVEL = FileInformation::FILE_FULL_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'
        int64            :end_of_file,      label: 'End of File'
        int64            :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'
        string16         :file_name,        label: 'File Name', read_length: -> { file_name_length }
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby_smb-3.3.13 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.12 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.11 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.10 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.9 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.7 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.6 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.5 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.4 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.3 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.2 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.1 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.3.0 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.2.8 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.2.7 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.2.6 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.2.5 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.2.4 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.2.3 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb
ruby_smb-3.2.2 lib/ruby_smb/fscc/file_information/file_full_directory_information.rb