MCPcopy
hub / github.com/AlistGo/alist / WrapObjName

Function WrapObjName

internal/model/obj.go:138–140  ·  view source on GitHub ↗
(objs Obj)

Source from the content-addressed store, hash-verified

136}
137
138func WrapObjName(objs Obj) Obj {
139 return &ObjWrapName{Name: utils.MappingName(objs.GetName()), Obj: objs}
140}
141
142func WrapObjsName(objs []Obj) {
143 for i := 0; i < len(objs); i++ {

Callers 9

ArchiveGetFunction · 0.92
ArchiveDecompressFunction · 0.92
GetFunction · 0.92
MakeDirFunction · 0.92
MoveFunction · 0.92
RenameFunction · 0.92
CopyFunction · 0.92
PutFunction · 0.92
PutURLFunction · 0.92

Calls 2

MappingNameFunction · 0.92
GetNameMethod · 0.65

Tested by

no test coverage detected