Skip to content

Commit 20780fe

Browse files
committed
Make some EagerDir methods private
1 parent 5c86577 commit 20780fe

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

skiplang/prelude/src/skstore/EagerDir.sk

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ class EagerDir protected {
760760
changesWritten > 0
761761
}
762762

763-
fun purgeOld(): FixedSourceMap {
763+
private fun purgeOld(): FixedSourceMap {
764764
current = 0;
765765
acc = mutable Vector[];
766766
add = minfo -> {
@@ -1454,7 +1454,7 @@ class EagerDir protected {
14541454
}
14551455
}
14561456

1457-
fun unsafeGetAllDataIterModified{
1457+
private fun unsafeGetAllDataIterModified{
14581458
fixedIter: mutable Iterator<(Tick, Path, Path, Array<File>)>,
14591459
modified: mutable Iterator<(Tick, Path, Path, Array<File>)>,
14601460
}: mutable Iterator<(Tick, Path, Path, Array<File>)> {
@@ -1831,7 +1831,9 @@ class EagerDir protected {
18311831
this with {childDirs, slices, purgeCount}
18321832
}
18331833

1834-
fun purgeSlices(context: mutable Context): RangeMapList<Key, DirName> {
1834+
private fun purgeSlices(
1835+
context: mutable Context,
1836+
): RangeMapList<Key, DirName> {
18351837
slices = RangeMapList[];
18361838
childDirs = SortedSet[];
18371839
for (slice in this.slices) {
@@ -1990,7 +1992,7 @@ class EagerDir protected {
19901992
this with {childDirs => this.childDirs.remove(dirName)}
19911993
}
19921994

1993-
fun updateNewDirs(
1995+
private fun updateNewDirs(
19941996
context: mutable Context,
19951997
source: Path,
19961998
newDirs: SortedSet<DirName>,

0 commit comments

Comments
 (0)