1
0
Fork 0
forgejo/modules/system
Oleksandr Redko b640ac4660
Refactor to use UnsafeStringToBytes (#31358)
The PR replaces all `goldmark/util.BytesToReadOnlyString` with
`util.UnsafeBytesToString`, `goldmark/util.StringToReadOnlyBytes` with
`util.UnsafeStringToBytes`. This removes one `TODO`.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 1761459ebc7eb6d432eced093b4583425a5c5d4b)
2024-06-16 13:42:58 +02:00
..
appstate.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
appstate_test.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
db.go Refactor to use UnsafeStringToBytes (#31358) 2024-06-16 13:42:58 +02:00
item_runtime.go