1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-10-04 04:31:00 +00:00
go-mtree/pkg/govis
Aleksa Sarai 9bd1dffd9b
unvis: switch to methods for parser
Passing the parsers as an argument is very C-like and is not really as
idiomadic as just using methods (in my defence, I was still pretty green
when I wrote this code and I was trying to port some logic from C).

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2025-09-23 04:40:18 +10:00
..
COPYING subtree merge: cyphar/govis 2017-02-16 03:08:51 +11:00
govis.go govis: modernise errors 2025-09-23 04:15:07 +10:00
govis_test.go govis: modernise errors 2025-09-23 04:15:07 +10:00
README.md govis: add SPDX license tag 2025-09-23 04:14:37 +10:00
unvis.go unvis: switch to methods for parser 2025-09-23 04:40:18 +10:00
unvis_test.go unvis: add some more error tests 2025-09-23 04:40:15 +10:00
vis.go govis: modernise errors 2025-09-23 04:15:07 +10:00
vis_test.go govis: add SPDX license tag 2025-09-23 04:14:37 +10:00

govis

govis is a BSD-compatible vis(3) and unvis(3) encoding implementation that is unicode aware and written in Go. None of this code comes from the original BSD code, nor does it come from go-mtree's port of said code. Because 80s BSD code is not very nice to read.

License

govis is licensed under the Apache 2.0 license.

govis: unicode aware vis(3) encoding implementation
Copyright (C) 2017-2025 SUSE LLC.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.