gfilefs

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(root, name string) fsnode.Parent

New returns a new parent node rooted at root. root must be a directory path that can be handled by github.com/grailbio/base/file. name will become the name of the returned node.

func OpenFile

func OpenFile(ctx context.Context, n *fileNode, flag int) (*gfile, error)

OpenFile opens the file at n and returns a *gfile representing it for file operations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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