jasir/file-helpers

Filesystem utilities library

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

This package is not auto-updated.

Last update: 2024-11-09 14:40:06 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