fileutils

package
v2.13.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copied directly from https://github.com/cloudfoundry/cli/blob/a66251ed5c21c649b5d64e793555ff25026ac049/fileutils/iocopy.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(dst, src string) error

func ExtractFileFields

func ExtractFileFields(src string) (map[string]string, error)

func WriteLineToFile

func WriteLineToFile(dst, line string) error

Types

type StreamingFileWriter

type StreamingFileWriter struct {
	Filename string
}

func (StreamingFileWriter) WriteStream

func (sfw StreamingFileWriter) WriteStream(reader io.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL