pico
created pr with
66.1
changed pr name to
chore(pobj.fs): feature parity with minio
added 66.2
1: a3f9ef2 = 1: a3f9ef2 chore: rm UserMetadata
2: ccd89b0 = 2: ccd89b0 refactor(shared): mime type pkg
3: 8621e35 = 3: 8621e35 chore(pobj.fs): provide metadata
-: ------- > 4: 831b150 chore(storage.fs): add tests
cmds
checkout latest patchset:
ssh pr.pico.sh print 66 | git am -3checkout any patchset in a patch request:
ssh pr.pico.sh print 66.[rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 66
Patchset
66.1
refactor(shared): mime type pkg
Eric Bower
2025-04-18T17:09:48ZSemantic diff summary
1 added,
9 modified,
0 signature changed,
1 removed
across 6 analyzed files
+2
-2
pkg/apps/pgs/calc_route.go
#
| ... | ... | @@ -23,7 +23,7 @@ func expandRoute(projectName, fp string, status int) []*HttpReply { | |
| 23 | 23 | if fp == "" { | |
| 24 | 24 | fp = "/" | |
| 25 | 25 | } | |
| 26 | - | mimeType := storage.GetMimeType(fp) | |
| 26 | + | mimeType := mime.GetMimeType(fp) | |
| 27 | 27 | fname := filepath.Base(fp) | |
| 28 | 28 | fdir := filepath.Dir(fp) | |
| 29 | 29 | fext := filepath.Ext(fp) |