HomePhorge

(PUP-839) FFI Util::Windows::Security / ::File
854ec4f9d21dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-839) FFI Util::Windows::Security / ::File

  • Remove windows-pr file class mixin for Windows::File and implement CreateFileW in Security.
  • Note that open_file overlaps with create_file in file.rb
  • Add FFI GetFileAttributes and SetFileAttributes to File module
  • Move all file attribute related calls out of the Security module and into the File module, including get_attributes, add_attributes, remove_attributes and set_attributes. Add corresponding deprecation notices.
  • Add a top level FILE alias for Puppet::Util::Windows::File and use that to make calls to the APIs / constants in File.
  • File must be included prior to Security to use these constants.

Details

Provenance
Ethan J. Brown <Iristyle@github>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU0d1a81ab7f13: (PUP-839) FFI Puppet::Util::Windows::Security vol
Branches
Unknown
Tags
Unknown

Event Timeline

Ethan J. Brown <Iristyle@github> committed rPU854ec4f9d21d: (PUP-839) FFI Util::Windows::Security / ::File (authored by Ethan J. Brown <Iristyle@github>).Jun 19 2014, 11:32 PM