hst/fs: remove type method

Having a method that returns the canonical string representation of its type seemed like a much better idea for an implementation that never made it to staging. Remove it here and clean up marshal type assertions.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-08-15 00:37:07 +09:00
parent ba3227bf15
commit 430991c39b
6 changed files with 46 additions and 69 deletions

View File

@@ -8,7 +8,7 @@ import (
)
func TestFSBind(t *testing.T) {
checkFs(t, "bind", []fsTestCase{
checkFs(t, []fsTestCase{
{"nil", (*hst.FSBind)(nil), false, nil, nil, nil, "<invalid>"},
{"full", &hst.FSBind{