dttung2905 commented on code in PR #525:
URL: https://github.com/apache/iceberg-go/pull/525#discussion_r2262777628


##########
io/io.go:
##########
@@ -82,6 +82,17 @@ type WriteFileIO interface {
        WriteFile(name string, p []byte) error
 }
 
+// ListIO is the interface implemented by a file system that
+// provides listing functionality for object stores
+type ListIO interface {
+       IO
+
+       // ListObjects lists all objects with the given prefix.
+       // For object stores like S3, this provides proper prefix-based listing.
+       // The callback function is called for each object found.
+       ListObjects(prefix string, fn func(path string, info fs.FileInfo) 
error) error

Review Comment:
   Ahh. This is something new to me. I have had an attempt to use this in my 
latest commit



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to