Idris2Doc : System.File.Meta

System.File.Meta

Functions for accessing file metadata.

Reexports

importpublic System.File.Types

Definitions

exists : HasIOio=>String->ioBool
  Check if a file exists for reading.

Totality: total
Visibility: export
firstExists : HasIOio=>ListString->io (MaybeString)
  Pick the first existing file

Totality: total
Visibility: export
recordTimestamp : Type
  Record that holds timestamps with nanosecond precision

Totality: total
Visibility: public export
Constructor: 
MkTimestamp : Int->Int->Timestamp

Projections:
.nsec : Timestamp->Int
.sec : Timestamp->Int

Hints:
EqTimestamp
OrdTimestamp
ShowTimestamp
.sec : Timestamp->Int
Totality: total
Visibility: public export
sec : Timestamp->Int
Totality: total
Visibility: public export
.nsec : Timestamp->Int
Totality: total
Visibility: public export
nsec : Timestamp->Int
Totality: total
Visibility: public export
recordFileTime : Type
  Record that holds file's time attributes

Totality: total
Visibility: public export
Constructor: 
MkFileTime : Timestamp->Timestamp->Timestamp->FileTime

Projections:
.atime : FileTime->Timestamp
.ctime : FileTime->Timestamp
.mtime : FileTime->Timestamp
.atime : FileTime->Timestamp
Totality: total
Visibility: public export
atime : FileTime->Timestamp
Totality: total
Visibility: public export
.mtime : FileTime->Timestamp
Totality: total
Visibility: public export
mtime : FileTime->Timestamp
Totality: total
Visibility: public export
.ctime : FileTime->Timestamp
Totality: total
Visibility: public export
ctime : FileTime->Timestamp
Totality: total
Visibility: public export
fileTime : HasIOio=>File->io (EitherFileErrorFileTime)
  Get File's time attributes

Totality: total
Visibility: export
fileAccessTime : HasIOio=>File->io (EitherFileErrorInt)
  Get the File's atime.

Totality: total
Visibility: export
fileModifiedTime : HasIOio=>File->io (EitherFileErrorInt)
  Get the File's mtime.

Totality: total
Visibility: export
fileStatusTime : HasIOio=>File->io (EitherFileErrorInt)
  Get the File's ctime.

Totality: total
Visibility: export
fileSize : HasIOio=>File->io (EitherFileErrorInt)
  Get the File's size.

Totality: total
Visibility: export
fPoll : HasIOio=>File->ioBool
  Check whether the given File's size is non-zero.

Totality: total
Visibility: export
isTTY : HasIOio=>File->ioBool
  Check whether the given File is a terminal device.

Totality: total
Visibility: export