MCPcopy Create free account
hub / github.com/coder/guts / convertDeprecation

Function convertDeprecation

bindings/bindings.go:812–818  ·  view source on GitHub ↗
(txt string)

Source from the content-addressed store, hash-verified

810}
811
812func convertDeprecation(txt string) string {
813 if len(txt) > 13 && txt[:13] == " Deprecated: " {
814 return " @deprecated " + txt[13:]
815 }
816
817 return txt
818}
819
820// ImportSpecifier builds the goja ImportSpecifier for a single named import.
821//

Callers 1

CommentGojaObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…