mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-26 21:37:40 +00:00
7 lines
105 B
Python
7 lines
105 B
Python
import os
|
|
|
|
|
|
def has_path(filename):
|
|
directory = os.path.dirname(filename)
|
|
return bool(directory)
|