sockfs

package
v0.0.0-...-f7ad032 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: Apache-2.0, MIT Imports: 8 Imported by: 15

Documentation

Overview

Package sockfs provides a filesystem implementation for anonymous sockets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDentry

func NewDentry(ctx context.Context, mnt *vfs.Mount) *vfs.Dentry

NewDentry constructs and returns a sockfs dentry.

Preconditions: mnt.Filesystem() must have been returned by NewFilesystem().

func NewFilesystem

func NewFilesystem(vfsObj *vfs.VirtualFilesystem) (*vfs.Filesystem, error)

NewFilesystem sets up and returns a new sockfs filesystem.

Note that there should only ever be one instance of sockfs.Filesystem, backing a global socket mount.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL