MCPcopy Create free account
hub / github.com/pydio/cells / Filter

Method Filter

idm/user/rest/handler.go:86–90  ·  view source on GitHub ↗

Filter returns a function to filter the swagger path.

()

Source from the content-addressed store, hash-verified

84
85// Filter returns a function to filter the swagger path.
86func (s *UserHandler) Filter() func(string) string {
87 return func(s string) string {
88 return strings.Replace(s, "{Login}", "{Login:*}", 1)
89 }
90}
91
92// GetUser finds a user by her login, answering to rest endpoint GET:/a/user/{Login}.
93func (s *UserHandler) GetUser(req *restful.Request, rsp *restful.Response) error {

Callers

nothing calls this directly

Calls 1

ReplaceMethod · 0.45

Tested by

no test coverage detected