package
0.0.0-20240619110052-371d14d15dc5
Repository: https://github.com/coderant163/docsynckit.git
Documentation: pkg.go.dev

# Functions

CreateIfNotExists 判断文件夹是否存在,如果不存在,创建该目录.
No description provided by the author
GetConfDir 获取配置文件的目录.
GetFullLogFile 获取完整日志文件路径.
GetKeyFilePath 获取存放密钥的目录.
GitPath 本地用于执行git命令,与github进行同步数据的工作目录.
No description provided by the author
LocalPath 本地文档路径.
Monitor 监控目录变更.
ScanDir 遍历目录 srcPath 原始目录 dstPath 目标目录 lastSync 上一次同步的时间 isEnc 是否为加密流程。 若isEnc=true,为加密流程,需要将src修改时间晚于lastSync的文件加密,转存到dest目录 若isEnc=false,为解密流程,需要将src所有文件解密到dest目录.
No description provided by the author
SyncPath 主目录下用于执行git同步命令的隐藏目录.
No description provided by the author

# Constants

No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author