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 fs.ResolvePath to resolve symbolic links #275

Merged
merged 4 commits into from
Apr 14, 2023

Commits on Feb 6, 2023

  1. Add fs.ResolvePath to resolve symbolic links

    `filepath.EvalSymlinks` does not work well on Windows, and can enter
    infinite loops in certain situations and error out.
    Use Win32 API GetFinalPathNameByHandle to handle path resolution.
    
    Implementation based off on: containerd/containerd#5411
    
    Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
    helsaawy committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    79c75a6 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. PR: types, documentation

    Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
    helsaawy committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    04f5acf View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. remove unneded constant groups

    Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
    helsaawy committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    ec89606 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Attempt normalized path first

    Update logic to try querying for normalized path initially, then use
    opened path if access is denied.
    
    Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
    helsaawy committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    4b2c5cb View commit details
    Browse the repository at this point in the history