Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPermissionOctal fs.FileMode = 0o770
DefaultPermissionOctal is the default file and folder permission octal used throughout GCT
Variables ¶
This section is empty.
Functions ¶
func Move ¶
Move moves a file from a source path to a destination path This must be used across the codebase for compatibility with Docker volumes and Golang (fixes Invalid cross-device link when using os.Rename)
func Write ¶
Write writes selected data to a file or returns an error if it fails. This func also ensures that all files are set to this permission (only rw access for the running user and the group the user is a member of)
func WriteAsCSV ¶
WriteAsCSV takes a table of records and writes it as CSV
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.