Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nativefilestream and several new methods to File and FileStream #98

Merged
merged 73 commits into from
Jul 23, 2024

Commits on Apr 10, 2024

  1. Improvement in Path

    - Add GetFullPath.
    - Improve null and empty checks on several methods.
    josesimoes committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    412c8f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    540d876 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db788cb View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    eea3e6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22baeaa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8cb6dc9 View commit details
    Browse the repository at this point in the history
  4. Complete rework to use new native API

    - Add new methods to File and FileStream API.
    - Improve/fix Intellisense comments.
    josesimoes committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3298aca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb66f84 View commit details
    Browse the repository at this point in the history
  6. Remove obsolete method

    josesimoes committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    49fd8eb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1fd1f74 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7a677d0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3097d2c View commit details
    Browse the repository at this point in the history
  10. Remove unused usings

    josesimoes committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    96037f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Configuration menu
    Copy the full SHA
    679d146 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1bdef5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06f9756 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    d4d303a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb1c584 View commit details
    Browse the repository at this point in the history
  3. Fix exception error code

    josesimoes committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    ffffb9f View commit details
    Browse the repository at this point in the history
  4. Fix formatting

    josesimoes committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    d77d1db View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Configuration menu
    Copy the full SHA
    d9024cf View commit details
    Browse the repository at this point in the history
  2. Fix typo

    josesimoes committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    7abfca1 View commit details
    Browse the repository at this point in the history
  3. Fix Path and its Unit Tests

    - Following 4d587f9
    josesimoes committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    5b6602a View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Rework implementation of Read and WriteAllBytes

    - Fix required to properly use new FileStream.
    josesimoes committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    c53db1b View commit details
    Browse the repository at this point in the history
  2. Move setting attributes on file copy

    - Need to happen after file is closed to allow file systems with detached access to attributes to handle this properly.
    josesimoes committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    9881614 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdc5bfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d13dc5e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Fix file Move

    josesimoes committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    4d3bbc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a0e6a0 View commit details
    Browse the repository at this point in the history
  3. Fix GetFullPath unit test

    josesimoes committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    178b6d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Fix File.Move

    - Check for destination path existing was added.
    - Add Intellisense comment with IOException.
    josesimoes committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    3b6a638 View commit details
    Browse the repository at this point in the history
  2. Code style fixes

    josesimoes committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    33cd164 View commit details
    Browse the repository at this point in the history
  3. Massive rework on File unit tests

    - Add new unit tests with random file names and content.
    - Improve several unit tests.
    - Code style improvements.
    josesimoes committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    8c65f14 View commit details
    Browse the repository at this point in the history
  4. Fix class name

    josesimoes committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    664f9aa View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    6d6c5a0 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    7a61212 View commit details
    Browse the repository at this point in the history
  2. Fix DirectoryInfo.Parent

    - Now handles edge cases for volume and root dirs.
    josesimoes committed May 7, 2024
    Configuration menu
    Copy the full SHA
    81db319 View commit details
    Browse the repository at this point in the history
  3. Code style fixes

    josesimoes committed May 7, 2024
    Configuration menu
    Copy the full SHA
    2577b20 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    15314b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8e04ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a525179 View commit details
    Browse the repository at this point in the history
  4. Fix NormalizeDirectorySeparators

    - Can now handle .. components in path to correctly normalize it.
    josesimoes committed May 10, 2024
    Configuration menu
    Copy the full SHA
    99f9f79 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    20a5454 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Remove managed implementation of native FindFile

    - Now all heavy lifting is performed at native end.
    - Update calls accordingly.
    - Improve directory unit tests.
    josesimoes committed May 13, 2024
    Configuration menu
    Copy the full SHA
    acab8e5 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    146b405 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Add MountRemovableVolumes

    josesimoes committed May 24, 2024
    Configuration menu
    Copy the full SHA
    f902052 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    310030a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e239a60 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Various fixes in unit tests

    - Add code delete files/directories at tests that were missing this.
    - Add output with progress report to help debugging tests.
    josesimoes committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    29bc90a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be556af View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    3c6d6fc View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Fix NormalizeDirectorySeparators

    - Add unit tests.
    - Fix unit tests.
    josesimoes committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    9c7ff06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71bf7b7 View commit details
    Browse the repository at this point in the history
  3. Extract unit test configs to base class

    - All unit test now derive from it.
    - Add code to setup to wait/mount removable drives.
    josesimoes committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    da25bc0 View commit details
    Browse the repository at this point in the history
  4. Rework StorageEventManager

    - RemovableDeviceEventArgs now takes a DriveInfo parameter.
    - Update DriveInfo to use volume index instead of handler.
    - Update event manager accordingly.
    - Fix construction of StorageEvent.
    - Add array of drives to properly handle insert/remove events and update files system manager.
    - Code optiization on a couple of methods in File system manager.
    - Fix namespace to align with rest of the class lib.
    josesimoes committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    87b2026 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d888b16 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a12d3a2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1f76181 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    503c4d7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6d59700 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    724d34a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0bffc42 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e113b3d View commit details
    Browse the repository at this point in the history
  13. Add implementation for Format API

    - Add helper methods and update code accordingly.
    josesimoes committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    ff143af View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f3635e0 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    c475575 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    55dbf1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    916cb77 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    1c32871 View commit details
    Browse the repository at this point in the history
  2. Fix test setting up

    josesimoes committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    81015eb View commit details
    Browse the repository at this point in the history
  3. Move all common setup code to tests base class

    - Adjust setup methods on all test classes.
    josesimoes committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    2c0451e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    28d1849 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    104613c View commit details
    Browse the repository at this point in the history