Redlines.DOC (redlines v0.9.2)

View Source

Legacy .doc adapter using the optional doc_redlines package.

Summary

Functions

Extract redlines from a legacy .doc file path.

Convert doc_redlines entries into normalized changes.

Functions

extract_redlines(path)

@spec extract_redlines(Path.t()) :: {:ok, list()} | {:error, term()}

Extract redlines from a legacy .doc file path.

Returns {:error, :doc_redlines_not_available} when the DocRedlines module is not loaded in the current runtime.

to_changes(redlines)

@spec to_changes(list()) :: [Redlines.Change.t()]

Convert doc_redlines entries into normalized changes.