AV_Data_Capture.py:command params new add -m -d -c -i -g -z
This commit is contained in:
@@ -622,11 +622,3 @@ def file_modification_days(filename) -> int:
|
||||
if days < 0:
|
||||
return 9999
|
||||
return days
|
||||
|
||||
# 检查文件是否是链接
|
||||
def is_link(filename: str):
|
||||
if os.path.islink(filename):
|
||||
return True # symlink
|
||||
elif os.stat(filename).st_nlink > 1:
|
||||
return True # hard link Linux MAC OSX Windows NTFS
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user