Lines Matching defs:dir
72 * @param path the path dir or hsp contains pack.info, or the path of pack.info
99 * @param path the path dir or hsp contains module.json, or the path of module.json
259 * @param outPath output dir
283 * rm dir
285 * @param dir input path to rm
286 * @return true if rm dir success
288 public static boolean rmdir(Path dir) {
290 Files.walkFileTree(dir, new SimpleFileVisitor<Path>() {
298 public FileVisitResult postVisitDirectory(Path dir, IOException ex) throws IOException {
299 Files.delete(dir);
396 throw new BundleException("pack err, dir is empty");
417 throw new BundleException("pack err, dir is empty");