+ html("<tr><td class='filemode'>");
+ html_filemode(mode);
+ html("</td><td ");
+ if (S_ISDIRLNK(mode)) {
+ htmlf("class='ls-mod'><a href='");
+ html_attr(fmt(cgit_repo->module_link,
+ name,
+ sha1_to_hex(sha1)));
+ } else if (S_ISDIR(mode)) {
+ html("class='ls-dir'><a href='");