MCPcopy Create free account
hub / github.com/comaps/comaps / wrapper

Function wrapper

tools/python/maps_generator/generator/env.py:61–64  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

59
60 @wraps(func)
61 def wrapper(*args, **kwargs):
62 path = func(*args, **kwargs)
63 create_if_not_exist_path(path)
64 return path
65
66 return wrapper
67

Callers 7

ForEachMethod · 0.50
ForEachMethod · 0.50
ForEachMethod · 0.50
PreOrderVisitFunction · 0.50
PostOrderVisitFunction · 0.50
ForEachTreeMethod · 0.50
ForEachMethod · 0.50

Calls 1

create_if_not_exist_pathFunction · 0.85

Tested by 1

ForEachMethod · 0.40