mirror of
https://github.com/ollama/ollama.git
synced 2025-12-09 21:42:43 +01:00
create manifests directory
This commit is contained in:
@@ -114,7 +114,12 @@ func GetManifestPath() (string, error) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
return filepath.Join(home, ".ollama", "models", "manifests"), nil
|
||||
path := filepath.Join(home, ".ollama", "models", "manifests")
|
||||
if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
return path, nil
|
||||
}
|
||||
|
||||
func GetBlobsPath(digest string) (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user