oficina / sheets Public
| 1 | package store |
| 2 | |
| 3 | import "gorm.io/gorm" |
| 4 | |
| 5 | func InitialHandleCachedForTest(db *gorm.DB, tabID uint64) bool { |
| 6 | registryMu.Lock() |
| 7 | defer registryMu.Unlock() |
| 8 | _, ok := registry[handleKey{db: db, tabID: tabID}] |
| 9 | return ok |
| 10 | } |
| 11 |