Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountFileSize ¶
CountFileSize returns the size of a file in bytes
func ReadFileLines ¶
ReadFileLines reads a file and returns it as a slice of lines
Types ¶
type SplitResult ¶
SplitResult represents a split part of the diff
func SplitDiffFile ¶
func SplitDiffFile(inputPath string, maxLength int) ([]SplitResult, error)
SplitDiffFile splits a markdown diff file if it exceeds the max length Returns the list of split results
Click to show internal directories.
Click to hide internal directories.