octogit icon indicating copy to clipboard operation
octogit copied to clipboard

Refactor get_username_and_repo func.

Open deepbrook opened this issue 7 years ago • 0 comments

We use regex expressions to parse the other use-cases as well, which allows us to remove the get_parent_repository() function, along with the URL constant for github repositories.

I also added some minor docstrings to the function in this module.

deepbrook avatar Oct 19 '18 19:10 deepbrook