Skip to content

Commit 9fc72be

Browse files
chore: apply jesse's suggested comment
1 parent 32bc19b commit 9fc72be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/solid/ContainerDataset.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export class ContainerDataset extends DatasetWrapper {
1010
return s
1111
}
1212

13-
// Empty containers have no ldp:contains; resolving via rdf:type instead.
13+
// If the container is empty, then the only instance of `ldp:Container`
14+
// and `ldp:BasicContainer` in this dataset should be the container
15+
// itself.
1416
for (const s of this.instancesOf(LDP.Container, Container)) {
1517
return s
1618
}

0 commit comments

Comments
 (0)