MCPcopy Create free account
hub / github.com/containerd/nerdctl / IsFilesystemSafe

Function IsFilesystemSafe

pkg/store/filestore.go:354–360  ·  view source on GitHub ↗
(identifier string)

Source from the content-addressed store, hash-verified

352}
353
354func IsFilesystemSafe(identifier string) error {
355 if err := filesystem.ValidatePathComponent(identifier); err != nil {
356 return errors.Join(ErrInvalidArgument, err)
357 }
358
359 return nil
360}

Callers 1

newAppFunction · 0.92

Calls 1

ValidatePathComponentFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…