Skip to content

Commit

Permalink
[#4280] improvement(PyGVFS): Refactor the getFileLocation logic in …
Browse files Browse the repository at this point in the history
…the Python GVFS (#5026)

### What changes were proposed in this pull request?

Refactor the logic of getting the file location in Python GVFS.

### Why are the changes needed?

Fix: #4280 

### How was this patch tested?

Refactor the UTs and reserved ITs works well.
  • Loading branch information
xloya authored Oct 8, 2024
1 parent 13d1684 commit dd1a930
Show file tree
Hide file tree
Showing 5 changed files with 991 additions and 1,012 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ class FilesetDataOperation(Enum):
"""Opens a file.
"""

OPEN_AND_WRITE = "OPEN_AND_WRITE"
"""Opens a file and writes to it.
"""

OPEN_AND_APPEND = "OPEN_AND_APPEND"
"""Opens a file and appends to it.
"""

APPEND = "APPEND"
"""Appends some content into a file.
"""
Expand Down
Loading

0 comments on commit dd1a930

Please sign in to comment.