working on the cache
This commit is contained in:
parent
c05e90e5b8
commit
5c1495a0ce
22
js-assembler/db-cache.rkt
Normal file
22
js-assembler/db-cache.rkt
Normal file
|
@ -0,0 +1,22 @@
|
|||
#lang racket/base
|
||||
|
||||
(require (planet ryanc/db)
|
||||
"../version.rkt")
|
||||
|
||||
|
||||
(when (not (file-exists? "whalesong-cache.sqlite3"))
|
||||
(define conn
|
||||
(sqlite3-connect #:database "whalesong-cache.sqlite3"
|
||||
#:mode 'create))
|
||||
(disconnect conn))
|
||||
|
||||
|
||||
(define conn
|
||||
(sqlite3-connect #:database "whalesong-cache.sqlite3"))
|
||||
|
||||
|
||||
(define (cached? path)
|
||||
#f)
|
||||
|
||||
(define (save-in-cache! path)
|
||||
(void))
|
Loading…
Reference in New Issue
Block a user