Movatterモバイル変換


[0]ホーム

URL:


filepathlite

packagestandard library
go1.25.5Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:5Imported by:0

Details

Repository

cs.opensource.google/go/go

Links

Documentation

Overview

Package filepathlite implements a subset of path/filepath,only using packages which may be imported by "os".

Tests for these functions are in path/filepath.

Index

Constants

View Source
const (Separator     = '/'// OS-specific path separatorListSeparator = ':'// OS-specific path list separator)

Variables

This section is empty.

Functions

funcBase

func Base(pathstring)string

Base is filepath.Base.

funcClean

func Clean(pathstring)string

Clean is filepath.Clean.

funcDir

func Dir(pathstring)string

Dir is filepath.Dir.

funcExt

func Ext(pathstring)string

Ext is filepath.Ext.

funcFromSlash

func FromSlash(pathstring)string

FromSlash is filepath.FromSlash.

funcIsAbs

func IsAbs(pathstring)bool

IsAbs reports whether the path is absolute.

funcIsLocal

func IsLocal(pathstring)bool

IsLocal is filepath.IsLocal.

funcIsPathSeparator

func IsPathSeparator(cuint8)bool

funcLocalize

func Localize(pathstring) (string,error)

Localize is filepath.Localize.

funcSplit

func Split(pathstring) (dir, filestring)

Split is filepath.Split.

funcToSlash

func ToSlash(pathstring)string

ToSlash is filepath.ToSlash.

funcVolumeName

func VolumeName(pathstring)string

VolumeName is filepath.VolumeName.

funcVolumeNameLen

func VolumeNameLen(pathstring)int

VolumeNameLen returns the length of the leading volume name on Windows.It returns 0 elsewhere.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp