From d76c920454b6826d53cf87a7da978526e84b0a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Mon, 5 Nov 2018 13:16:33 -0800 Subject: [PATCH] fix(get): export hasContent.sync properly --- locales/en.js | 1 + locales/es.js | 1 + 2 files changed, 2 insertions(+) diff --git a/locales/en.js b/locales/en.js index cd0702b..1715fdb 100644 --- a/locales/en.js +++ b/locales/en.js @@ -26,6 +26,7 @@ x.get.copy = (cache, key, dest, opts) => get.copy(cache, key, dest, opts) x.get.copy.byDigest = (cache, hash, dest, opts) => get.copy.byDigest(cache, hash, dest, opts) x.get.info = (cache, key) => get.info(cache, key) x.get.hasContent = (cache, hash) => get.hasContent(cache, hash) +x.get.hasContent.sync = (cache, hash) => get.hasContent.sync(cache, hash) x.put = (cache, key, data, opts) => put(cache, key, data, opts) x.put.stream = (cache, key, opts) => put.stream(cache, key, opts) diff --git a/locales/es.js b/locales/es.js index 49003cf..ac4e4cf 100644 --- a/locales/es.js +++ b/locales/es.js @@ -26,6 +26,7 @@ x.sava.copia = (cache, clave, destino, opts) => get.copy(cache, clave, destino, x.sava.copia.porHacheo = (cache, hacheo, destino, opts) => get.copy.byDigest(cache, hacheo, destino, opts) x.saca.info = (cache, clave) => get.info(cache, clave) x.saca.tieneDatos = (cache, hacheo) => get.hasContent(cache, hacheo) +x.saca.tieneDatos.sinc = (cache, hacheo) => get.hasContent.sync(cache, hacheo) x.mete = (cache, clave, datos, ops) => put(cache, clave, datos, ops) x.mete.flujo = (cache, clave, ops) => put.stream(cache, clave, ops)