Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename component-index.ts to scope-index.ts according to the class name #7398

Merged
merged 2 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scope/lanes/lanes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BitId } from '../../bit-id';
import logger from '../../logger/logger';
import { Lane } from '../models';
import { Repository } from '../objects';
import { IndexType, LaneItem } from '../objects/components-index';
import { IndexType, LaneItem } from '../objects/scope-index';
import { ScopeJson, TrackLane } from '../scope-json';
import { Log } from '../models/lane';

Expand Down
2 changes: 1 addition & 1 deletion src/scope/objects/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import RemoteLanes from '../lanes/remote-lanes';
import UnmergedComponents from '../lanes/unmerged-components';
import ScopeMeta from '../models/scopeMeta';
import { ScopeJson } from '../scope-json';
import ScopeIndex, { IndexType } from './components-index';
import ScopeIndex, { IndexType } from './scope-index';
import BitObject from './object';
import { ObjectItem, ObjectList } from './object-list';
import BitRawObject from './raw-object';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from 'chai';

import { ModelComponent } from '../models';
import ScopeIndex from './components-index';
import ScopeIndex from './scope-index';
import BitObject from './object';

describe('ComponentsIndex', () => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/scope/scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { ModelComponent, Symlink, Version } from './models';
import Lane from './models/lane';
import { ComponentLog } from './models/model-component';
import { BitObject, BitRawObject, Ref, Repository } from './objects';
import { ComponentItem, IndexType } from './objects/components-index';
import { ComponentItem, IndexType } from './objects/scope-index';
import RemovedObjects from './removed-components';
import { Tmp } from './repositories';
import SourcesRepository from './repositories/sources';
Expand Down