MCPcopy
hub / github.com/benbjohnson/litestream / expandPath

Method expandPath

server.go:161–166  ·  view source on GitHub ↗

expandPath expands the path using PathExpander if set.

(path string)

Source from the content-addressed store, hash-verified

159
160// expandPath expands the path using PathExpander if set.
161func (s *Server) expandPath(path string) (string, error) {
162 if s.PathExpander != nil {
163 return s.PathExpander(path)
164 }
165 return path, nil
166}
167
168func (s *Server) handleStart(w http.ResponseWriter, r *http.Request) {
169 var req StartRequest

Callers 7

handleStartMethod · 0.95
handleStopMethod · 0.95
handleTXIDMethod · 0.95
handleSyncStatusMethod · 0.95
handleSyncMethod · 0.95
handleRegisterMethod · 0.95
handleUnregisterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected