Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ indent
Function
indent
examples/files/zip/main.js:29–31 ·
view source on GitHub ↗
(level)
Source
from the content-addressed store, hash-verified
27
let
archive =
new
ZIP(buffer);
28
29
function
indent(level) {
30
trace(
'..'
.repeat(level));
31
}
32
33
function
iterateZipDirectory(directory, level) {
34
let
item, root = archive.iterate(directory);
Callers
1
iterateZipDirectory
Function · 0.85
Calls
1
repeat
Method · 0.80
Tested by
no test coverage detected