file

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileMd5

func FileMd5(filePath string) string

FileMd5 计算指定文件的 MD5 哈希值

参数 filePath: 文件路径 返回值: 文件的 MD5 哈希值(大写字符串),如果文件不存在或读取失败则返回空字符串

func PathExists

func PathExists(path string) bool

PathExists 检查指定路径是否存在 参数 path: 要检查的路径(文件或文件夹) 返回值: true表示存在,false表示不存在或不确定

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL