()
| 26 | } |
| 27 | |
| 28 | func (a *basicUploadAdapter) tempDir() string { |
| 29 | // Dedicated to this adapter rather than shared with basic download. |
| 30 | d := filepath.Join(os.TempDir(), "git-lfs-basic-temp") |
| 31 | if err := tools.MkdirAll(d, a.fs); err != nil { |
| 32 | return os.TempDir() |
| 33 | } |
| 34 | return d |
| 35 | } |
| 36 | |
| 37 | func (a *basicUploadAdapter) WorkerStarting(workerNum int) (interface{}, error) { |
| 38 | return nil, nil |