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

Allow retrieval of the "relative file path" from the source link map #699

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 1, 2021

  1. Allow retrieval of the "relative file path" from the source link map

    It can be helpful for consumers of the Source Link to know what portion
    of the file path provided to the query is substituted into the URL. One
    example is for building a heuristic file path on disk to store the
    downloaded source link file to. This relative path can give end users
    more context on where the file is located in the original repository.
    
    This change add a new TryGetUri overload that provides the "relative
    file path" as another out param. It also updates the tests to add
    coverage for this.
    chuckries committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    949b17b View commit details
    Browse the repository at this point in the history