(file)
| 1051 | */ |
| 1052 | static async displayFilesAsHTML(files) { |
| 1053 | const formatDirectory = function(file) { |
| 1054 | const html = `<div class='card' style='white-space: normal;'> |
| 1055 | <div class='card-header'> |
| 1056 | <h6 class="mb-0"> |
| 1057 | ${Utils.escapeHtml(file.name)} |
| 1058 | </h6> |
| 1059 | </div> |
| 1060 | </div>`; |
| 1061 | return html; |
| 1062 | }; |
| 1063 | |
| 1064 | const formatContent = function (buff, type) { |
| 1065 | if (type.startsWith("image")) { |
nothing calls this directly
no test coverage detected