Class: Chef::ReservedNames::Win32::API::File::REPARSE_DATA_BUFFER
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Chef::ReservedNames::Win32::API::File::REPARSE_DATA_BUFFER
- Defined in:
- lib/chef/win32/api/file.rb
Instance Method Summary collapse
Instance Method Details
#reparse_buffer ⇒ Object
354 355 356 357 358 359 360 361 362 |
# File 'lib/chef/win32/api/file.rb', line 354 def reparse_buffer if self[:ReparseTag] == IO_REPARSE_TAG_SYMLINK self[:ReparseBuffer][:SymbolicLinkReparseBuffer] elsif self[:ReparseTag] == IO_REPARSE_TAG_MOUNT_POINT self[:ReparseBuffer][:MountPointReparseBuffer] else self[:ReparseBuffer][:GenericReparseBuffer] end end |