Skip to content

Commit

Permalink
fix the bug of tail and head
Browse files Browse the repository at this point in the history
  • Loading branch information
littleEast7 committed Jan 16, 2025
1 parent f81cc4d commit c80bb10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alluxiofs/client/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ def cp(self, path1, path2, option):
)
)

def tail(self, file_path, num_of_bytes=None):
def tail(self, file_path, num_of_bytes=1024):
"""
show the tail a file which path is 'file_path'.
Args:
Expand Down Expand Up @@ -1011,7 +1011,7 @@ def tail(self, file_path, num_of_bytes=None):
)
)

def head(self, file_path, num_of_bytes=None):
def head(self, file_path, num_of_bytes=1024):
"""
show the head a file which path is 'file_path'.
Args:
Expand Down

0 comments on commit c80bb10

Please sign in to comment.