summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-04-05 23:46:29 +0700
committerShulhan <ms@kilabit.info>2023-04-08 16:56:26 +0700
commitf861735aa9cf29bc4b348b7e41e195e1f74fd2ea (patch)
tree28d8ec5f163dd9a9e39a6da5e754f8a9283145ab
parentd8ed8a6b7d788eb6bb59023e6e6fe93190b8a2c8 (diff)
downloadpakakeh.go-f861735aa9cf29bc4b348b7e41e195e1f74fd2ea.tar.xz
lib/os: add comment to error ErrExtractInputExt
-rw-r--r--lib/os/extract.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/os/extract.go b/lib/os/extract.go
index 6c89288b..324dd3c2 100644
--- a/lib/os/extract.go
+++ b/lib/os/extract.go
@@ -31,6 +31,9 @@ const (
)
var (
+ // ErrExtractInputExt define an error when the input file extension is
+ // unknown.
+ // This does not means that the file is not supported.
ErrExtractInputExt = errors.New("unknown extract input extension")
)