package
module
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Feb 27, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1,320
Opens a new window with list of known importers.
Documentation
¶
Copy copies src to dest, doesn't matter if src is a directory or a file
err := Copy("testdata/example", "testdata.copy/example")
fmt.Println("Error:", err)
info, _ := os.Stat("testdata.copy/example")
fmt.Println("IsDir:", info.IsDir())
Output:
Error: <nil>
IsDir: true
Source Files
¶
Click to show internal directories.
Click to hide internal directories.