fileName:文件名字(带全路径) content: 写入的内容
(filePath string, content string)
| 102 | // fileName:文件名字(带全路径) |
| 103 | // content: 写入的内容 |
| 104 | func (fs *fileOperation) AppendToFile(filePath string, content string) error { |
| 105 | return writeToFile(filePath, content, false) |
| 106 | } |
| 107 | |
| 108 | // 指定路径是否存在 |
| 109 | func (fs *fileOperation) IsExist(filePath string) bool { |
no test coverage detected