filesys

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 59

Documentation

Overview

Package filesys provides a file system abstraction, a subset of that provided by golang.org/pkg/os, with an on-disk and in-memory representation.

Deprecated: use sigs.k8s.io/kustomize/kyaml/filesys instead.

Index

Constants

View Source
const (
	// Separator is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.Separator.
	Separator = filesys.Separator
	// SelfDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.SelfDir.
	SelfDir = filesys.SelfDir
	// ParentDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.ParentDir.
	ParentDir = filesys.ParentDir
)

Variables

This section is empty.

Functions

func InsertPathPart added in v0.3.3

func InsertPathPart(path string, pos int, part string) string

InsertPathPart is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.InsertPathPart.

func NewTmpConfirmedDir

func NewTmpConfirmedDir() (filesys.ConfirmedDir, error)

NewTmpConfirmedDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.NewTmpConfirmedDir.

func PathJoin added in v0.3.3

func PathJoin(incoming []string) string

PathJoin is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.PathJoin.

func PathSplit added in v0.3.3

func PathSplit(incoming string) []string

PathSplit is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.PathSplit.

func RootedPath

func RootedPath(elem ...string) string

RootedPath is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.RootedPath.

func StripLeadingSeps added in v0.3.0

func StripLeadingSeps(s string) string

StripLeadingSeps is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.StripLeadingSeps.

func StripTrailingSeps added in v0.3.0

func StripTrailingSeps(s string) string

StripTrailingSeps is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.StripTrailingSeps.

Types

type ConfirmedDir

type ConfirmedDir = filesys.ConfirmedDir

ConfirmedDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.ConfirmedDir.

type FileSystem

type FileSystem = filesys.FileSystem

FileSystem is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.FileSystem.

func MakeEmptyDirInMemory added in v0.3.0

func MakeEmptyDirInMemory() FileSystem

MakeEmptyDirInMemory is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.MakeEmptyDirInMemory.

func MakeFsInMemory

func MakeFsInMemory() FileSystem

MakeFsInMemory is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.MakeFsInMemory.

func MakeFsOnDisk

func MakeFsOnDisk() FileSystem

MakeFsOnDisk is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.MakeFsOnDisk.

type FileSystemOrOnDisk added in v0.8.11

type FileSystemOrOnDisk = filesys.FileSystemOrOnDisk

FileSystemOrOnDisk is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.FileSystemOrOnDisk.

Jump to

Keyboard shortcuts

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