diff options
| author | ruki <[email protected]> | 2026-03-28 15:46:11 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-28 15:46:11 +0800 |
| commit | 1df5ac2921a800c766fc64d4db6a85975c171e32 (patch) | |
| tree | feb30c468c4e89a5c8338b4a90786d97ceed481e /xmake/core/base/graph.lua | |
| parent | c86b161f6b27040289c75f3cafe7a863dea737bc (diff) | |
| parent | c08081788e880f32f1835eab49aae5806cb19721 (diff) | |
Merge pull request #7424 from xmake-io/comments
improve comments
Diffstat (limited to 'xmake/core/base/graph.lua')
| -rw-r--r-- | xmake/core/base/graph.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/core/base/graph.lua b/xmake/core/base/graph.lua index be0035394..bbaee4d58 100644 --- a/xmake/core/base/graph.lua +++ b/xmake/core/base/graph.lua @@ -549,7 +549,11 @@ function graph:_partial_topo_sort_recompute_dirty() self._partial_topo_dirty = false end --- new graph +-- create a new graph +-- +-- @param directed create a directed graph if true, undirected if false +-- @return the graph instance +-- function graph.new(directed) local gh = graph {directed} gh:clear() |
