MCPcopy Create free account
hub / github.com/go-task/task / DeepCopy

Method DeepCopy

taskfile/ast/location.go:9–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7}
8
9func (l *Location) DeepCopy() *Location {
10 if l == nil {
11 return nil
12 }
13 return &Location{
14 Line: l.Line,
15 Column: l.Column,
16 Taskfile: l.Taskfile,
17 }
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected