MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / setNonEFSZipEncoding

Function setNonEFSZipEncoding

internal/archive/zip/utils_test.go:19–24  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

17}
18
19func setNonEFSZipEncoding(value string) {
20 op.Cache.SetSetting(conf.NonEFSZipEncoding, &model.SettingItem{
21 Key: conf.NonEFSZipEncoding,
22 Value: value,
23 })
24}
25
26func TestDecodeNamePrefersValidUTF8WhenEFSDisabled(t *testing.T) {
27 setNonEFSZipEncoding("IBM437")

Calls 1

SetSettingMethod · 0.80

Tested by

no test coverage detected