Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: cb721ac503
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (22 sloc) 0.328 kB
#include "test.h"
#include "atom.h"
#include "log.h"
#include "vfs.h"
static void
list(const char *root)
{
atom a = atomString(root);
int n = vfsList(a, NULL, 0);
atom name[n];
vfsList(a, name, n);
int i;
for (i=0;i<n;i++) {
logPrintf("%s",atomToString(name[i]));
}
}
static void
test()
{
list("/");
list("/_");
}
Jump to Line
Something went wrong with that request. Please try again.