public FileStatus [ ] listPaths ( String src ) throws IOException { checkOpen ( ) ; metrics . incLsCalls ( ) ; try { if ( namenodeProtocolProxy == null ) { return versionBasedListPath ( src ) ; } return methodBasedListPath ( src ) ; } catch ( RemoteException re ) { throw re . unwrapRemoteException ( AccessControlException . class ) ; } }
Get a listing of the indicated directory