本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
writeas
/
writeas-cli
镜像来自
https://github.com/writeas/writeas-cli
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
10
活動
瀏覽代碼
Fix Exists() test in fileutils
pull/21/head
Matt Baer
5 年之前
父節點
052c792391
當前提交
a63445f92a
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
fileutils/fileutils.go
+ 1
- 1
fileutils/fileutils.go
查看文件
@@ -9,7 +9,7 @@ import (
// Exists returns whether or not the given file exists
func Exists(p string) bool {
if _, err := os.Stat(p);
err == nil
{
if _, err := os.Stat(p);
!os.IsNotExist(err)
{
return true
}
return false
Write
Preview
Loading…
取消
儲存