jasir/file-helpers

Filesystem utilities library

v1.0.0 2015-03-21 21:36 UTC

This package is not auto-updated.

Last update: 2020-02-21 15:33:08 UTC


README

License: MIT

Simple helpers functions:

  • readLastLines($file, $lines) ... reads last $lines from $file
  • seekLineBack($file, $lines) ... moves current pointer back in $file that next read will read n ($lines) lines