forked from TrueCloudLab/distribution
Fix comment for PathRegexp
Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
This commit is contained in:
parent
568bf038af
commit
d4435b79d9
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ type StorageDriver interface {
|
||||||
// PathRegexp is the regular expression which each file path must match. A
|
// PathRegexp is the regular expression which each file path must match. A
|
||||||
// file path is absolute, beginning with a slash and containing a positive
|
// file path is absolute, beginning with a slash and containing a positive
|
||||||
// number of path components separated by slashes, where each component is
|
// number of path components separated by slashes, where each component is
|
||||||
// restricted to lowercase alphanumeric characters or a period, underscore, or
|
// restricted to alphanumeric characters or a period, underscore, or
|
||||||
// hyphen.
|
// hyphen.
|
||||||
var PathRegexp = regexp.MustCompile(`^(/[A-Za-z0-9._-]+)+$`)
|
var PathRegexp = regexp.MustCompile(`^(/[A-Za-z0-9._-]+)+$`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue