MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / currentdir

Function currentdir

libaegisub/lua/modules/lfs.cpp:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60char *currentdir(char **err) {
61 return wrap(err, []{
62 return strndup(CurrentPath().string());
63 });
64}
65
66bool mkdir(const char *dir, char **err) {
67 return setter(dir, err, &CreateDirectory);

Callers

nothing calls this directly

Calls 4

strndupFunction · 0.85
CurrentPathFunction · 0.85
stringMethod · 0.80
wrapFunction · 0.70

Tested by

no test coverage detected