Open jtmuller5 opened 3 weeks ago
The issue is in this function:
String _encodedGitDir(GitPath git, String commitHash) {
final name = p.basenameWithoutExtension(git.url);
final path = git.url.replaceAll(r'\', '/');
final url = base64.encode(utf8.encode(path));
return '${name}_${url}_$commitHash';
}
This looks like a duplicate of #496
Description
I am attempting to share a private brick with another developer by including a GitHub personal access token in the git url:
Because the URL is so long, however,
mason get
throws an error:Steps To Reproduce
Ex.
Expected Behavior
This should not break. I would expect the file name to be shortened to a reasonable length. Currently it seems like a hash of the git URL.