MCPcopy Create free account
hub / github.com/curran/screencasts / createPadding

Function createPadding

introToChiasm/examples/code/snapshot30/main-build.js:4097–4107  ·  view source on GitHub ↗

* Creates the padding required for `string` based on the given `length`. * The `chars` string is truncated if the number of characters exceeds `length`. * * @private * @param {string} string The string to create padding for. * @param {number} [length=0] The padding length.

(string, length, chars)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

createPadDirFunction · 0.70
padFunction · 0.70

Calls 1

repeatFunction · 0.70

Tested by

no test coverage detected