anton-l HF Staff commited on
Commit
053f2d3
·
1 Parent(s): 7577d96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -1
README.md CHANGED
@@ -24,4 +24,18 @@ The commit message table. Join it with `commit_filepath` on `commits.directory_i
24
  ## 2. `commit_filepath`
25
  The file paths associated with each commit. Join it with `file_conents` on `blob_id`
26
 
27
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ## 2. `commit_filepath`
25
  The file paths associated with each commit. Join it with `file_conents` on `blob_id`
26
 
27
+ * directory_id - str (root directory id of the corresponding commit, example: `001331910958befd665d94c85c23471a8fc1ab19`)
28
+ * blob_id - str (Software Heritage file blob id, example: `47953673b7b51c2585402a91d434f5fe4d9dc105`)
29
+ * content_id - str (Software Heritage content id, example: `d6b3dab547a59efe5246edf06a42e8e85776acb1`)
30
+ * path - str (file path inside the repository, example: ` /core/src/components/tab-bar/usage/javascript.md`)
31
+ * length - i64 (file length in bytes, example: `529`)
32
+
33
+ ## 3. `file_contents`
34
+ The contents of all non-binary files (i.e. not images/media/data).
35
+
36
+ * blob_id - str (Software Heritage file blob id, example: `47953673b7b51c2585402a91d434f5fe4d9dc105`)
37
+ * content - str (file contents, always a UTF-8 string)
38
+ * src_encoding - str (original file's encoding, example: `UTF-8`)
39
+ language - str (programming language label, example: `Python`)
40
+ is_vendor - bool (True if it's a vendor file, e.g. 3rd party library)
41
+ is_generated - bool (True if the file is auto-generated)