aboutsummaryrefslogtreecommitdiff
path: root/src/lib/win32_fs.rs
blob: 641ef33eb1b73022ed65b8607ae9e04d6728e707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
native "rust" mod rustrt {
  fn rust_list_files(str path) -> vec[str];
  fn rust_file_is_dir(str path) -> int;
}

impure fn list_dir(str path) -> vec[str] {
  ret rustrt.rust_list_files(path+"*");
}

const char path_sep = '\\';