MCPcopy
hub / github.com/toeverything/AFFiNE / push

Function push

blocksuite/affine/gfx/text/src/element-renderer/utils.ts:445–449  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

443 let currentLineWidthTillNow = 0;
444
445 const push = (str: string) => {
446 if (str.trim()) {
447 lines.push(str);
448 }
449 };
450
451 const resetParams = () => {
452 currentLine = '';

Callers 1

wrapTextFunction · 0.70

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected