mirror of
https://shylinux.com/x/icebergs
synced 2025-04-27 01:48:27 +08:00
add some
This commit is contained in:
parent
eb69a26017
commit
cc0a5de7a0
@ -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) {
|
if f, p, e := CreateFile(m, p); !m.WarnNotValid(e) {
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
switch cb := cb.(type) {
|
switch cb := cb.(type) {
|
||||||
@ -118,6 +118,7 @@ func Create(m *ice.Message, p string, cb ice.Any) {
|
|||||||
m.ErrorNotImplement(cb)
|
m.ErrorNotImplement(cb)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return p
|
||||||
}
|
}
|
||||||
func Append(m *ice.Message, p string, cb ice.Any) {
|
func Append(m *ice.Message, p string, cb ice.Any) {
|
||||||
if f, p, e := AppendFile(m, p); !m.WarnNotValid(e) {
|
if f, p, e := AppendFile(m, p); !m.WarnNotValid(e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user