🔒 not allowed use relative path of native

This commit is contained in:
微凉
2022-01-27 15:10:33 +08:00
parent 7390e19a7a
commit bf9aa5c3d3
2 changed files with 20 additions and 2 deletions

View File

@ -12,6 +12,7 @@ var (
ErrNotSupport = errors.New("not support")
ErrNotFolder = errors.New("not a folder")
ErrEmptyFile = errors.New("empty file")
ErrRelativePath = errors.New("access using relative path is not allowed")
)
const (