path

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitFromSecondSlash

func SplitFromSecondSlash(str string) (string, error)

SplitFromSecondSlash 找到给定字符串 str 中第二个 '/' 字符的位置 并以该位置为首字符切割剩余的子串返回

Types

type AlistPathRes

type AlistPathRes struct {

	// Success 转换是否成功
	Success bool

	// Path 转换后的路径
	Path string

	// Range 遍历所有 Alist 根路径生成的子路径
	Range func() ([]string, error)
}

AlistPathRes 路径转换结果

func Emby2Alist

func Emby2Alist(embyPath string) AlistPathRes

Emby2Alist Emby 资源路径转 Alist 资源路径

Jump to

Keyboard shortcuts

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