コード例 #1
0
ファイル: FSDirectory.java プロジェクト: bruthe/hadoop-0.1r
 /** Check whether the path specifies a directory */
 public boolean isDir(UTF8 src) {
   synchronized (rootDir) {
     INode node = rootDir.getNode(normalizePath(src));
     return node != null && node.isDir();
   }
 }