package pathutil

import "cuelang.org/go/internal/golangorgx/gopls/util/pathutil"

Index

Functions

func InDir

func InDir(dir, path string) bool

InDir checks whether path is in the file tree rooted at dir. It checks only the lexical form of the file names. It does not consider symbolic links.

Copied from go/src/cmd/go/internal/search/search.go.

Source Files

util.go

Version
v0.11.0-alpha.4
Published
Oct 24, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
26 minutes ago

Tools for package owners.