...

Package file

import "github.com/bazelbuild/buildtools/file"
Overview
Index

Overview ▾

Package file provides utility file operations.

Index ▾

Package files

file.go

Variables

OpenReadFile can be updated from the caller to change the API for opening a file.

var OpenReadFile = openReadFile

ReadFile can be updated from the caller to change the API for reading a file.

var ReadFile = readFile

WriteFile can be updated from the caller to change the API for writing a file.

var WriteFile = writeFile