__init__

FileInfo.__init__(path=None, times=None, attr=None, fs=None)[source]

Initialise a FileInfo object.

Parameters:
  • path – Absolute path to a file.

  • times – A list or tuple of two datetime objects indicating start and end time of the file.

  • attr – A dictionary with further attributes.

  • fs – Implementation of fsspec file system