MCPcopy Index your code
hub / github.com/OpenListTeam/OpenList / MustSaveDriverStorage

Function MustSaveDriverStorage

internal/op/storage.go:289–294  ·  view source on GitHub ↗

MustSaveDriverStorage call from specific driver

(driver driver.Driver)

Source from the content-addressed store, hash-verified

287
288// MustSaveDriverStorage call from specific driver
289func MustSaveDriverStorage(driver driver.Driver) {
290 err := saveDriverStorage(driver)
291 if err != nil {
292 log.Errorf("failed save driver storage: %s", err)
293 }
294}
295
296func saveDriverStorage(driver driver.Driver) error {
297 storage := driver.GetStorage()

Callers 15

requestMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
refreshTokenMethod · 0.92
InitMethod · 0.92
doLoginMethod · 0.92
refreshTokenMethod · 0.92
isTokenExpiredMethod · 0.92
loginMethod · 0.92
InitMethod · 0.92
refreshTokenMethod · 0.92

Calls 1

saveDriverStorageFunction · 0.85

Tested by

no test coverage detected