Skip to content

Commit

Permalink
Reorganize code to prepare for more features. (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c authored Apr 1, 2024
1 parent 14727f5 commit 5018c8f
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 20 deletions.
7 changes: 6 additions & 1 deletion pkgs/memory_usage/lib/DEPENDENCIES.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<!---
Generated by https://github.com/polina-c/layerlens
Dependencies that create loop are markes with `!`.
Dependencies that create loops (inversions) are marked with `!`.
-->

```mermaid
flowchart TD;
memory_usage.dart-->src;
```

### Inversions
In this folder: 0

Including sub-folders: 0

4 changes: 2 additions & 2 deletions pkgs/memory_usage/lib/memory_usage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

export 'src/model.dart';
export 'src/usage_tracking.dart';
export 'src/auto_snapshotting/auto_snapshotting.dart';
export 'src/auto_snapshotting/model.dart';
16 changes: 0 additions & 16 deletions pkgs/memory_usage/lib/src/DEPENDENCIES.md

This file was deleted.

21 changes: 21 additions & 0 deletions pkgs/memory_usage/lib/src/auto_snapshotting/DEPENDENCIES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!---
Generated by https://github.com/polina-c/layerlens
Dependencies that create loops (inversions) are marked with `!`.
-->

```mermaid
flowchart TD;
_snapshot.dart-->_util.dart;
_snapshot.dart-->model.dart;
_usage_event.dart-->_util.dart;
_usage_event.dart-->model.dart;
auto_snapshotting.dart-->_snapshot.dart;
auto_snapshotting.dart-->_usage_event.dart;
auto_snapshotting.dart-->model.dart;
```

### Inversions
In this folder: 0

Including sub-folders: 0

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkgs/memory_usage/test/_snapshot_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import 'dart:io';

import 'package:memory_usage/src/_snapshot.dart';
import 'package:memory_usage/src/auto_snapshotting/_snapshot.dart';
import 'package:test/test.dart';

void main() {
Expand Down

0 comments on commit 5018c8f

Please sign in to comment.