MCPcopy Index your code
hub / github.com/emwalker/digraph / date_string

Method date_string

backend/src/types.rs:437–444  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

435 }
436
437 pub fn date_string(&self) -> String {
438 let ts = match self {
439 Self::None(ts) => ts,
440 Self::StartYear(ts) => ts,
441 Self::StartYearMonth(ts) => ts,
442 };
443 ts.display_string("%Y-%m-%d")
444 }
445
446 pub fn prefix(&self) -> Option<String> {
447 match self {

Callers

nothing calls this directly

Calls 1

display_stringMethod · 0.80

Tested by

no test coverage detected