if (!this._previous || this._entryCount > this._compactAfterEntries) {
this._hasPendingWrite = true;
this._pendingPrevious = currentValue;
this._pendingEntryCount = 1;
const entry: Entry = { kind: EntryKind.Initial, v: currentValue };
return { op: 'replace', data: VSBuffer.fromString(stringifyEntryWithFallback(entry) + '\n') };
}
// Generate diff entries