Skip to content

Add Support for LFS pointers #1

@bogdannbv

Description

@bogdannbv

The raw.githubusercontent.com urls may return an LFS pointer instead of the actual file content.

There's no simple way of converting those pointers to a download URL so a more heuristic solution must be implemented, like parsing the path, extracting the owner, repo and a list of possible path and ref combinations and trying all these combinations against the GitHub's content API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions