exploration icon indicating copy to clipboard operation
exploration copied to clipboard

How to create a new file or directory to the tree

Open websiddu opened this issue 1 year ago • 2 comments

Can there be a quick code snippet or guidance on how to create a new file/directory to the tree?

websiddu avatar Oct 12 '24 02:10 websiddu

There are a bunch of examples in tests: https://github.com/jaredLunde/exploration/blob/main/src/file-tree.test.ts#L655

Unfortunately I lost access to the web IDE I built this for when I left DigitalOcean last year so I don't have complete examples on hand.

jaredLunde avatar Oct 12 '24 03:10 jaredLunde

I've been meaning to add more examples to CodeSandbox, I just haven't found the time

jaredLunde avatar Oct 12 '24 03:10 jaredLunde