code: func NewObjectStorageWithOptions(dir *dotgit.DotGit, objectCache cache.Object, ops Options) *ObjectStorage {
  	return &ObjectStorage{
  		options:     ops,
  		objectCache: objectCache,
  		dir:         dir,
  	}
  }
docs: // NewObjectStorageWithOptions creates a new ObjectStorage with the given .git directory, cache and extra options