stagingPattern is where mkdirOwned builds a directory before it holds the lock. It does not start with prefix, so no sweep can match it.
(prefix string)
| 120 | // stagingPattern is where mkdirOwned builds a directory before it holds the |
| 121 | // lock. It does not start with prefix, so no sweep can match it. |
| 122 | func stagingPattern(prefix string) string { |
| 123 | return fmt.Sprintf(".%sstaging-%d-*", prefix, os.Getpid()) |
| 124 | } |
no outgoing calls