path

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 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 OpenlistPathRes

type OpenlistPathRes struct {

	// Success 转换是否成功
	Success bool

	// Path 转换后的路径
	Path string

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

OpenlistPathRes 路径转换结果

func Emby2Openlist

func Emby2Openlist(embyPath string) OpenlistPathRes

Emby2Openlist Emby 资源路径转 Openlist 资源路径

Jump to

Keyboard shortcuts

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