Closed
Description
I am a bit confused. I am trying to create a new dat with via the promise syntax and it is creating a directory uls_scratch
within my current working directory, but apparently not creating a folder for storing the dat data.
const { DatArchive, destroy } = require("dat-sdk/auto");
async function main() {
const archive = await DatArchive.create({ title: "My Archive" });
await archive.writeFile("/example.txt", "Hello World!");
destroy();
}
main();
What is this directory and why is it not cleaned up? Where is the actually data getting stored?
Or does this use RAM?
Metadata
Assignees
Labels
No labels