1/* function get_tools(repo) { 2 fetch(`https://api.github.com/repos/${repo}/topics`, { 3 headers: { 4 Accept: "application/vnd.github.mercy-preview+json" 5 } 6 }) 7 .then(response => response.json()) 8 .then(data => { 9 var name = repo.split("/")[1]; 10 var parent = document.getElementById(`${name}-tools`); 11 parse_tools(data.names).forEach(t => parent.appendChild(t)); 12 }); 13} 14 15function parse_tools(tools) { 16 var classes = "badge badge-pill text-primary border border-primary ml-1"; 17 var classesArr = classes.split(" "); 18 return tools.map(tool => { 19 var span = document.createElement("span"); 20 span.classList.add(...classesArr); 21 span.innerHTML = tool; 22 return span; 23 }); 24} 25*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.