Skip to content

pkg/highlight: move binary file detection to here

Warren Gifford requested to merge sg/refactor-highlight into master

Created by: slimsag

This is so that pkg/highlight.Code is the sole source for doing highlighting, which makes it usable from e.g. other GraphQL handlers easily.

This PR does not need to update the CHANGELOG because no user-facing changes.

Merge request reports

Loading