# Functions
通过Bash命令复制整个目录,只能运行于Linux或MacOS 当dst结尾带斜杠时,复制为dst下的子目录.
CopyFile copies the contents of the file named src to the file named by dst.
No description provided by the author
detect if file exists -1, false 不合法的路径 0, false 路径不存在 -1, true 存在文件夹 >=0, true 文件并存在.
遍历目录下的文件.
取得文件的绝对路径.
当前执行文件所在的目录.
使用 wc -l 计算有多少行.
为文件路径创建目录.
No description provided by the author
No description provided by the author
读取文件末尾若干字节.
读取全部数据,按行组成列表.
# Structs
每次只保留当前行数据.