Compare commits
2 Commits
81209e85ee
...
007db5a06b
Author | SHA1 | Date | |
---|---|---|---|
007db5a06b | |||
c11469a108 |
@@ -1,3 +1,4 @@
|
||||
import os.path
|
||||
from .Config import *
|
||||
import json
|
||||
import shutil
|
||||
@@ -413,6 +414,8 @@ class ToolFile(BaseModel):
|
||||
return os.path.getsize(self.OriginFullPath)
|
||||
def GetExtension(self):
|
||||
return GetExtensionName(self.OriginFullPath)
|
||||
def GetAbsPath(self) -> str:
|
||||
return os.path.abspath(self.OriginFullPath)
|
||||
def GetFullPath(self) -> str:
|
||||
return self.OriginFullPath
|
||||
def GetFilename(self, is_without_extension = False):
|
||||
|
Reference in New Issue
Block a user