MCPcopy Index your code
hub / github.com/kopia/kopia / repositoryNotWritableError

Function repositoryNotWritableError

internal/server/api_error.go:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func repositoryNotWritableError() *apiError {
35 return internalServerError(errors.New("repository is not writable"))
36}
37
38func internalServerError(err error) *apiError {
39 return &apiError{http.StatusInternalServerError, serverapi.ErrorInternal, fmt.Sprintf("internal server error: %v", err)}

Callers 3

handleFlushFunction · 0.85
handlePolicyDeleteFunction · 0.85
handlePolicyPutFunction · 0.85

Calls 1

internalServerErrorFunction · 0.85

Tested by

no test coverage detected