Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/emwalker/digraph
/ validate
Method
validate
backend/src/git/link.rs:160–167 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
158
}
159
160
fn validate(&self) -> Result<()> {
161
if self.parent_topic_ids.is_empty() {
162
return Err(Error::Repo(
163
"at least one parent topic must be provided"
.into(),
164
));
165
}
166
Ok(())
167
}
168
169
fn change(
170
&self,
Callers
1
call
Method · 0.45
Calls
2
Repo
Class · 0.85
is_empty
Method · 0.45
Tested by
no test coverage detected