1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -05:00
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 Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00