tanishqgandhi1908 commented on code in PR #6872:
URL: https://github.com/apache/texera/pull/6872#discussion_r3855962375


##########
file-service/src/main/scala/org/apache/texera/service/resource/ResourceUploadService.scala:
##########
@@ -139,6 +171,49 @@ object ResourceUploadService {
   private def singleFileUploadMaxBytes(defaultMiB: Long = 20L): Long =
     SiteSettings.getLong("single_file_upload_max_size_mib", defaultMiB) * 
1024L * 1024L
 
+  /**
+    * Builds the file nodes of one committed version, plus the version's total 
size.
+    *
+    * The tree is rooted at the resource-type prefix, so the paths it yields 
resolve against
+    * the right table when they are handed back to `FileResolver`.
+    */
+  def versionRootFileNodes(

Review Comment:
   ```suggestion
     def versionRootFileNodes(Migrated both — fetchDatasetVersionRootFileNodes 
and retrieveLatestDatasetVersion now call versionRootFileNodes. Drops ~79 lines 
from DatasetResource and the comment is accurate now.
   ```



-- 
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]

Reply via email to