@tabcat/orbit-db-fsstore
Advanced tools
Comparing version 3.1.5 to 3.1.6
{ | ||
"name": "@tabcat/orbit-db-fsstore", | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"description": "a custom orbit-db store representing a file system", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -7,3 +7,3 @@ | ||
const FS = require('./FS') | ||
const { joinPath, pathName, pathValid, nameValid, opcodes, errors, ...fs } = FS | ||
const { joinPath, pathName, baseName, pathValid, nameValid, opcodes, errors, ...fs } = FS | ||
const { str2ab } = require('./util') | ||
@@ -75,2 +75,3 @@ const b64 = require('base64-js') | ||
this.pathName = pathName | ||
this.baseName = baseName | ||
this.exists = (path = '') => fs.exists(this.index, path) | ||
@@ -77,0 +78,0 @@ this.content = (path = '') => fs.content(this.index, path) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18719
401