Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cb721ac503
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (22 sloc) 0.328 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#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("/_");
}
Something went wrong with that request. Please try again.