file

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(src, dst string) error

CopyDir 复制一个目录到另一个位置 src 是源目录的路径,dst 是目标目录的路径

func CopyFile

func CopyFile(src, dst string) error

CopyFile 复制一个文件到另一个位置 src 是源文件的路径,dst 是目标文件的路径

func ReplaceInFile

func ReplaceInFile(filePath string, oldText, newText string) error

func WalkDirAndReplace

func WalkDirAndReplace(language, dirPath, oldText, newText string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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