From 480d88c6b4602e3dac382de4e40b50d5d8a18461 Mon Sep 17 00:00:00 2001 From: fang Date: Tue, 13 Feb 2024 16:59:40 +0100 Subject: [PATCH] docket: call +fip appropriately It's no longer a parser, so stop calling as like such. --- desk/app/docket.hoon | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desk/app/docket.hoon b/desk/app/docket.hoon index 06cfeb22..5f37d8c2 100644 --- a/desk/app/docket.hoon +++ b/desk/app/docket.hoon @@ -656,17 +656,16 @@ ?~ file [glob 'file without filename' err] ?~ type [glob (cat 3 'file without type: ' u.file) err] ?^ code [glob (cat 3 'strange encoding: ' u.code) err] - =/ filp (rush u.file fip) - ?~ filp [glob (cat 3 'strange filename: ' u.file) err] + =/ filp (fip u.file) :: ignore metadata files and other "junk" ::TODO consider expanding coverage :: - ?: =('.DS_Store' (rear `path`u.filp)) + ?: =('DS_Store' (rear filp)) [glob err] :: make sure to exclude the top-level dir from the path :: :_ err - %+ ~(put by glob) (slag 1 `path`u.filp) + %+ ~(put by glob) (slag 1 filp) [u.type (as-octs:mimes:html body)] :: ++ split-at @@ -682,6 +681,7 @@ :: ++ fip |= fil=@t + ^- path =/ [ext=tape fil=tape] (split-at (trip fil) '.') =- (snoc - (crip ext)) %+ turn