I am trying to implement ls -l using Scala
How do I get information such as file type, file mode bits, number of hard links, owner name, group name ?
Also if the file is a is a symbolic link it should print the link as well
eg lrwxrwxrwx 1 root root 30 Feb 17 01:03 fpu_control.h -> x86_64-linux-gnu/fpu_control.h
I don't want to use JNI to call opendir() and other system calls and get the data.
