(entries []scriptEntryStruct, ttl time.Duration)
| 13 | } |
| 14 | |
| 15 | func (sc *scriptDriveCache) PutEntries(entries []scriptEntryStruct, ttl time.Duration) { |
| 16 | if e := sc.c.PutEntries(utils.ArrayMap(entries, structToEntry), ttl); e != nil { |
| 17 | s.ThrowDetachedError(e) |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func (sc *scriptDriveCache) PutEntry(entry scriptEntryStruct, ttl time.Duration) { |
| 22 | if e := sc.c.PutEntry(structToEntry(&entry), ttl); e != nil { |
nothing calls this directly
no test coverage detected