Page 1 of 1

create a directory?

Posted: 20 Jul 2015, 12:13
by Silentwings
Is it possible for luaui to create a new subdirectory in the Spring datadir? (And then write files into that subdir.)

I would normally have used mkdir and os.execute to do this but, for obvious reasons, luaui cannot use that.

Re: create a directory?

Posted: 20 Jul 2015, 12:40
by jK

Re: create a directory?

Posted: 20 Jul 2015, 15:30
by gajop
@jk: do you think those should be migrated to VFS.* ? For now I've cross linked the two wiki parts as it's highly related and feels sorta out of place.

Re: create a directory?

Posted: 20 Jul 2015, 19:26
by Silentwings
Ah thanks, fwiw I did check the VFS page but never thought to look elsewhere.