Skip to content

OsOperations::get_file_size is updated#88

Merged
dmitry-lipetsk merged 1 commit into
postgrespro:masterfrom
dmitry-lipetsk:D20260707_005--os_ops-get_file_size
Jul 7, 2026
Merged

OsOperations::get_file_size is updated#88
dmitry-lipetsk merged 1 commit into
postgrespro:masterfrom
dmitry-lipetsk:D20260707_005--os_ops-get_file_size

Conversation

@dmitry-lipetsk

@dmitry-lipetsk dmitry-lipetsk commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Declaration:

 def get_file_size(self, filename: str) -> int:

RemoteOperations uses a command "stat -c %s filename". Was: "du -b filename".

Declaration:
 def get_file_size(self, filename: str) -> int:

RemoteOperations uses a command "stat -c %s <filename>". Was: "du -b <filename>".
@dmitry-lipetsk
dmitry-lipetsk force-pushed the D20260707_005--os_ops-get_file_size branch from 6c771e0 to 2af3031 Compare July 7, 2026 10:59
@dmitry-lipetsk
dmitry-lipetsk merged commit b666f1e into postgrespro:master Jul 7, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant