comparison core/src/luan/modules/IoLuan.java @ 431:3ffe8ba5b297

TableLuan cleanup
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 02 May 2015 21:12:48 -0600
parents dae264ad6a7b
children d9df6d6cb927
comparison
equal deleted inserted replaced
430:f28320fd671d 431:3ffe8ba5b297
415 File[] files = file.listFiles(); 415 File[] files = file.listFiles();
416 if( files==null ) 416 if( files==null )
417 return null; 417 return null;
418 LuanTable list = new LuanTable(); 418 LuanTable list = new LuanTable();
419 for( File f : files ) { 419 for( File f : files ) {
420 list.add(new LuanFile(luan,f).table()); 420 list.rawAdd(new LuanFile(luan,f).table());
421 } 421 }
422 return list; 422 return list;
423 } 423 }
424 424
425 public LuanTable parent(LuanState luan) throws LuanException, IOException { 425 public LuanTable parent(LuanState luan) throws LuanException, IOException {