MCPcopy Index your code
hub / github.com/filebrowser/filebrowser / Clean

Method Clean

settings/settings.go:69–71  ·  view source on GitHub ↗

Clean cleans any variables that might need cleaning.

()

Source from the content-addressed store, hash-verified

67
68// Clean cleans any variables that might need cleaning.
69func (s *Server) Clean() {
70 s.BaseURL = strings.TrimSuffix(s.BaseURL, "/")
71}
72
73func (s *Server) GetTokenExpirationTime(fallback time.Duration) time.Duration {
74 if s.TokenExpirationTime == "" {

Callers 2

SearchFunction · 0.45
SaveServerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected