diff options
Diffstat (limited to 'worker/types')
-rw-r--r-- | worker/types/worker.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/worker/types/worker.go b/worker/types/worker.go index 55e00faf..7033bf77 100644 --- a/worker/types/worker.go +++ b/worker/types/worker.go @@ -15,6 +15,7 @@ var lastId int64 = 1 // access via atomic type Backend interface { Run() Capabilities() *models.Capabilities + PathSeparator() string } type Worker struct { @@ -179,3 +180,7 @@ func (worker *Worker) PostMessageInfoError(msg WorkerMessage, uid uint32, err er Message: RespondTo(msg), }, nil) } + +func (worker *Worker) PathSeparator() string { + return worker.Backend.PathSeparator() +} |