sync
This commit is contained in:
5
buzzer_tool/core/commands/stat.py
Normal file
5
buzzer_tool/core/commands/stat.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def execute(conn, path: str):
|
||||
info = conn.stat(path)
|
||||
entry_type = "Ordner" if info["type"] == "D" else "Datei"
|
||||
print(f"{path}: {entry_type}, Größe: {info['size']} B")
|
||||
return info
|
||||
Reference in New Issue
Block a user