Skip to content

Commit d76c920

Browse files
committed
fix(get): export hasContent.sync properly
1 parent 4c38261 commit d76c920

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

locales/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ x.get.copy = (cache, key, dest, opts) => get.copy(cache, key, dest, opts)
2626
x.get.copy.byDigest = (cache, hash, dest, opts) => get.copy.byDigest(cache, hash, dest, opts)
2727
x.get.info = (cache, key) => get.info(cache, key)
2828
x.get.hasContent = (cache, hash) => get.hasContent(cache, hash)
29+
x.get.hasContent.sync = (cache, hash) => get.hasContent.sync(cache, hash)
2930

3031
x.put = (cache, key, data, opts) => put(cache, key, data, opts)
3132
x.put.stream = (cache, key, opts) => put.stream(cache, key, opts)

locales/es.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ x.sava.copia = (cache, clave, destino, opts) => get.copy(cache, clave, destino,
2626
x.sava.copia.porHacheo = (cache, hacheo, destino, opts) => get.copy.byDigest(cache, hacheo, destino, opts)
2727
x.saca.info = (cache, clave) => get.info(cache, clave)
2828
x.saca.tieneDatos = (cache, hacheo) => get.hasContent(cache, hacheo)
29+
x.saca.tieneDatos.sinc = (cache, hacheo) => get.hasContent.sync(cache, hacheo)
2930

3031
x.mete = (cache, clave, datos, ops) => put(cache, clave, datos, ops)
3132
x.mete.flujo = (cache, clave, ops) => put.stream(cache, clave, ops)

0 commit comments

Comments
 (0)