Skip to content

Commit 2603f66

Browse files
committed
refactor: move lengthy to utils
1 parent 2b3f0c4 commit 2603f66

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/avl/avl-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Copyright (c) 2019 Victorien Elvinger
22
//! Licensed under Apache License 2.0 (https://apache.org/licenses/LICENSE-2.0)
33

4-
import { lengthOf } from "../core/lengthy.js"
4+
import { lengthOf } from "../util/lengthy.js"
55
import type { Version } from "../core/version.js"
66
import type { u32 } from "../util/number.js"
77
import { reduceOf } from "../util/reducible.js"

src/avl/bin-tree-iterator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Copyright (c) 2019 Victorien Elvinger
22
//! Licensed under Apache License 2.0 (https://apache.org/licenses/LICENSE-2.0)
33

4-
import { lengthOf } from "../core/lengthy.js"
4+
import { lengthOf } from "../util/lengthy.js"
55
import type { Pathfinder } from "../core/list.js"
66
import type { ListIterator } from "../core/list-iterator.js"
77
import { lastOf } from "../util/array.js"

src/core/lengthy.ts renamed to src/util/lengthy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Copyright (c) 2019 Victorien Elvinger
22
//! Licensed under Apache License 2.0 (https://apache.org/licenses/LICENSE-2.0)
33

4-
import type { u32 } from "../util/number.js"
4+
import type { u32 } from "./number.js"
55

66
export interface Lengthy {
77
readonly length?: unknown

0 commit comments

Comments
 (0)