hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 918e706661fe40e408c8608b9b971533aba57c8a
parent cd546049a280514240ed29e39af0f3ca39f3490b
Author: Alexey Yerin <yyp@disroot.org>
Date:   Wed, 17 Nov 2021 20:00:08 +0300

hare::module: export parse_name

Signed-off-by: Alexey Yerin <yyp@disroot.org>

Diffstat:
Mhare/module/scan.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hare/module/scan.ha b/hare/module/scan.ha @@ -89,7 +89,7 @@ export fn scan(ctx: *context, path: str) (version | error) = { // Given a file or directory name, parses it into the basename, extension, and // tag set. -fn parse_name(name: str) (str, str, []tag) = { +export fn parse_name(name: str) (str, str, []tag) = { let ext = path::extension(name); let base = ext.0, ext = ext.1;