(id string)
| 586 | } |
| 587 | |
| 588 | func (s *PostgresStore) resolveDeletePath(id string) (string, error) { |
| 589 | if strings.ContainsRune(id, os.PathSeparator) || filepath.IsAbs(id) { |
| 590 | return id, nil |
| 591 | } |
| 592 | return filepath.Join(s.authDir, filepath.FromSlash(id)), nil |
| 593 | } |
| 594 | |
| 595 | func (s *PostgresStore) relativeAuthID(path string) (string, error) { |
| 596 | if s == nil { |