(state State, options Options)
| 65 | } |
| 66 | |
| 67 | func NewMemory(state State, options Options) *Repository { |
| 68 | repository := New("", options) |
| 69 | repository.memory = true |
| 70 | repository.state = cloneState(state) |
| 71 | |
| 72 | return repository |
| 73 | } |
| 74 | |
| 75 | func Load(path string, options Options) (*Repository, error) { |
| 76 | repository := New(path, options) |