Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

syntax-highlighter: Use camino to make handling utf8 paths nicer#63311

Merged
kritzcreek merged 3 commits into
mainfrom
christoph/camino
Jun 18, 2024
Merged

syntax-highlighter: Use camino to make handling utf8 paths nicer#63311
kritzcreek merged 3 commits into
mainfrom
christoph/camino

Conversation

@kritzcreek

@kritzcreek kritzcreek commented Jun 18, 2024

Copy link
Copy Markdown
Contributor

Fixes https://linear.app/sourcegraph/issue/GRAPH-688/refactor-syntax-highlighter-to-use-the-camino-library

We're already codifying and assuming that paths are utf8 only in a bunch of places. This library let's us make the utf8 check up-front and then not have to recheck over and over again.

Test plan

This should purely be a refactoring, so all existing tests should continue to pass

It's a library for paths that are Utf8 only
@cla-bot cla-bot Bot added the cla-signed label Jun 18, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Jun 18, 2024
@kritzcreek kritzcreek merged commit 8f13139 into main Jun 18, 2024
@kritzcreek kritzcreek deleted the christoph/camino branch June 18, 2024 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants