readChecksum.GenericDataFile: Reads the value of the corresponding checksum file

readChecksum.GenericDataFileR Documentation

Reads the value of the corresponding checksum file

Description

Reads the value of the corresponding checksum file, if existing.

Usage

## S3 method for class 'GenericDataFile'
readChecksum(this, ...)

Arguments

...

Not used.

Details

The content of the checksum file is trimmed from comment lines, whitespaces and then validated that the remaining part contains a hexadecimal value.

Value

Returns a character string, which can be NA if file is missing. An exception is thrown if the file does not exist, and hence not the checksum file.

Author(s)

Henrik Bengtsson

See Also

*validateChecksum(). *compareChecksum(). *writeChecksum(). *getChecksum(). For more information see GenericDataFile.


R.filesets documentation built on July 21, 2022, 5:11 p.m.