File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,4 +11,8 @@ function path.rocks_tree_to_string(tree) end
1111--- @return string
1212function path .deploy_lua_dir (tree ) end
1313
14+ --- @param tree ? string | luarocks.core.Tree
15+ --- @return string
16+ function path .rocks_dir (tree ) end
17+
1418return path
Original file line number Diff line number Diff line change 1+ --- @meta
2+
3+ --- @class luarocks.core.vers.Version
4+ --- @field string string
5+ --- @field revision number
6+ --- @field [ number] number
7+
8+ --- @class luarocks.core.vers
9+ local vers = {}
10+
11+ --- @param vstring string
12+ --- @return luarocks.core.vers.Version
13+ --- @overload fun ( vstring : nil ): nil
14+ function vers .parse_version (vstring ) end
15+
16+ --- @param a string
17+ --- @param b string
18+ --- @return boolean -- whether ` a > b`
19+ function vers .compare_versions (a , b ) end
20+
21+ return vers
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ local path = {}
77
88path .rocks_tree_to_string = core_path .rocks_tree_to_string
99path .deploy_lua_dir = core_path .deploy_lua_dir
10+ path .rocks_dir = core_path .rocks_dir
1011
1112--- Get the local installation directory (prefix) for a package.
1213--- @param name string -- the package name
You can’t perform that action at this time.
0 commit comments