]> source.dussan.org Git - gitea.git/commit
Use filepath.ToSlash and Join in indexer defaults and queues (#15971)
authorzeripath <art27@cantab.net>
Wed, 26 May 2021 02:50:35 +0000 (03:50 +0100)
committerGitHub <noreply@github.com>
Wed, 26 May 2021 02:50:35 +0000 (22:50 -0400)
commitc1a80b7d6aed36aebcae9b99f63336c758c0e2c4
treee154a61118e2c67428aecdb095a242b17274e691
parentb59afa272fbc0b77801754fc5ca810f8a613e7c8
Use filepath.ToSlash and Join in indexer defaults and queues (#15971)

As revealed by #15964 there is inconsistent use of filepath Join and path Join
for these directories. The best thing to do is to use filepath.Join but then ToSlash
them for consistency.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
modules/setting/indexer.go
modules/setting/queue.go