We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The move function creates extraneous .acl,.meta, and .meta.acl files.
This simple, test illustrates the problem :
onst $rdf = global.$rdf = require('rdflib'); const {SolidFileClient} = require('../'); const {SolidNodeClient} = require('solid-node-client'); const {cwd} = require('process'); const fs = require('fs'); const fc = new SolidFileClient( new SolidNodeClient({parser:$rdf}) ); let base = 'file://' + cwd(); let fbase = cwd(); let res; async function test(){ await cleanTestFolders(); fs.readdir(fbase+"/test/", async (err, files) => { console.log("test/ contains ",files||[]); res = await fc.createFile(base+"/test/foo.txt","bar","text/plain"); console.log(res.status,"createFile"); res = await fc.move(base+"/test/foo.txt",base+"/test/bar.txt"); console.log(res.status,"move"); fs.readdir(fbase+"/test/", (err, files) => { console.log("test/ contains ",files); }); }); } test(); async function cleanTestFolders(){ await fc.delete(base+"/test/foo.txt"); await fc.delete(base+"/test/bar.txt"); await fc.delete(base+"/test/"); } ``` These are the results I get. ``` test/ contains [] 201 createFile 201 move test/ contains [ 'bar.txt', 'bar.txt.acl', 'bar.txt.meta', 'bar.txt.meta.acl' ] ```
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The move function creates extraneous .acl,.meta, and .meta.acl files.
This simple, test illustrates the problem :
The text was updated successfully, but these errors were encountered: