docs: 补齐 common/file/process/shell 四个既有包的 README
- 每包定位/路由表/用法与注意事项(鉴权告诫、录制审计、防误杀语义) - 至此 remote-core 全部包 README 覆盖
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# common
|
||||
|
||||
通用小工具(自 remote-backend-server internal/libs/common 裁剪)。
|
||||
|
||||
## 用法
|
||||
|
||||
```go
|
||||
import "git.zeroonesoft.cn/golib/remote-core/common"
|
||||
|
||||
exists, err := common.PathExists("C:\\data") // 文件/目录是否存在
|
||||
```
|
||||
Reference in New Issue
Block a user