MCPcopy Create free account
hub / github.com/GetStream/stream-cli / getDeleteType

Function getDeleteType

pkg/cmd/chat/user/user.go:323–328  ·  view source on GitHub ↗
(hardDeleteEnabled bool)

Source from the content-addressed store, hash-verified

321}
322
323func getDeleteType(hardDeleteEnabled bool) stream.DeleteType {
324 if hardDeleteEnabled {
325 return stream.HardDelete
326 }
327 return stream.SoftDelete
328}
329
330func queryCmd() *cobra.Command {
331 cmd := &cobra.Command{

Callers 2

deleteCmdFunction · 0.85
deleteMultipleCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected