1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 17:44:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-07-04 19:34:59 +08:00
parent eb69a26017
commit cc0a5de7a0

View File

@ -106,7 +106,7 @@ func init() {
}},
})
}
func Create(m *ice.Message, p string, cb ice.Any) {
func Create(m *ice.Message, p string, cb ice.Any) string {
if f, p, e := CreateFile(m, p); !m.WarnNotValid(e) {
defer f.Close()
switch cb := cb.(type) {
@ -118,6 +118,7 @@ func Create(m *ice.Message, p string, cb ice.Any) {
m.ErrorNotImplement(cb)
}
}
return p
}
func Append(m *ice.Message, p string, cb ice.Any) {
if f, p, e := AppendFile(m, p); !m.WarnNotValid(e) {