sourcetools (version 0.1.7)

read: Read the Contents of a File

Description

Read the contents of a file into a string (or, in the case of read_lines, a vector of strings).

Usage

read(path)

read_lines(path)

read_bytes(path)

read_lines_bytes(path)

Arguments

path

A file path.