parse_duration.go ×2

Frontier kind: Code frontier

unlabeled · c_d10d556623e3

8 tests · 6 LOC · 1 file · introduces 0 tests · 3 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
2 ranges3 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
4 ranges6 lines · 1 file · Browse complete extent
All tests (intent)
8 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Introduced files, introduced tests, and structurally relevant concept specializationTestGetTypedValue · 0 introduced LOCTestGetTypedValuecollection.go ×1 · 2 introduced LOCcollection.go ×1TestGetDurationValue · 0 introduced LOCTestGetDurationValueTestGetDurationValue_FilteredByChasmTaskType · 0 introduced LOCTestGetDurationValue_Fil…TestGetDurationValue_FilteredByTaskTypeQueue · 0 introduced LOCTestGetDurationValue_Fil…collection.go ×3 · 6 introduced LOCcollection.go ×3TestConvertGradualChange_DurationString · 0 introduced LOCTestConvertGradualChange…collection.go ×1 · 1 introduced LOCcollection.go ×1collection.go ×1 · 3 introduced LOCcollection.go ×1parse_duration.go ×1 · 2 introduced LOCparse_duration.go ×1parse_duration.go ×2 · 3 introduced LOCparse_duration.go ×2TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/dynamicconfig/collection.go · 779 LOCdynamicconfig/collection…go.temporal.io/server/common/primitives/timestamp/parse_duration.go · 72 LOCtimestamp/parse_duration…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestGetDurationProperty · introduced test · go.temporal.io/server/common/dynamicconfig/TestCollectionSuite/TestGetDurationPropertyTestGetDurationPropertyTestConvertGradualChange_DurationString · introduced test · go.temporal.io/server/common/dynamicconfig/TestConvertGradualChange_DurationStringTestConvertGradualChange…TestGetDurationValue · introduced test · go.temporal.io/server/common/dynamicconfig/TestFileBasedClientSuite/TestGetDurationValueTestGetDurationValueTestGetDurationValue_FilteredByChasmTaskType · introduced test · go.temporal.io/server/common/dynamicconfig/TestFileBasedClientSuite/TestGetDurationValue_FilteredByChasmTaskTypeTestGetDurationValue_Fil…TestGetDurationValue_FilteredByTaskTypeQueue · introduced test · go.temporal.io/server/common/dynamicconfig/TestFileBasedClientSuite/TestGetDurationValue_FilteredByTaskTypeQueueTestGetDurationValue_Fil…TestGetDurationValue_ParseFailed · introduced test · go.temporal.io/server/common/dynamicconfig/TestFileBasedClientSuite/TestGetDurationValue_ParseFailedTestGetDurationValue_Par…TestGetTypedValue · introduced test · go.temporal.io/server/common/dynamicconfig/TestFileBasedClientSuite/TestGetTypedValueTestGetTypedValueTestParseDurationDefaultSeconds · introduced test · go.temporal.io/server/common/primitives/timestamp/TestParseDurationSuite/TestParseDurationDefaultSecondsTestParseDurationDefault…Focused concept · parse_duration.go ×2 · 3 introduced LOCparse_duration.go ×2

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 3 introduced LOC across 2 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/primitives/timestamp/parse_duration.go 3 introduced LOC · 2 ranges

Open complete file

46 // for days (always interpreted as exactly 24 hours), and also supports
47 // unit-less numbers, which are interpreted as seconds.
48 > func ParseDurationDefaultSeconds(s string) (time.Duration, error) { parse_duration.go
49 > if reUnitless.MatchString(s) {
50 s += "s"
51 }
52 > return ParseDuration(s) parse_duration.go
53 }
54