MCPcopy Index your code
hub / github.com/containerd/containerd / optionsSize

Function optionsSize

core/mount/mount_linux.go:505–511  ·  view source on GitHub ↗

optionsSize returns the byte size of options of mount.

(opts []string)

Source from the content-addressed store, hash-verified

503
504// optionsSize returns the byte size of options of mount.
505func optionsSize(opts []string) int {
506 size := 0
507 for _, opt := range opts {
508 size += len(opt)
509 }
510 return size
511}
512
513func mountAt(chdir string, source, target, fstype string, flags uintptr, data string) error {
514 if chdir == "" {

Callers 1

mountMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…