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
350 351 352 353 354 355 356 357 358 |
# File 'lib/chef/win32/api/file.rb', line 350 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 |