Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In case of getting the list of files we called Unix.readlink twice for every file descriptor. In case we wanted just the count we computed the list anyway. Factor out code to avoid calling function twice and do not compute the list is not needed. Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com>
- Loading branch information