getContent

Retrieve the source code content of this version.

const previousContent = await version.getContent()

Returns

  • Promise<string> – The file content as a string.