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

Fix/directory chooser #347

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
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/Squit.package/SquitArtifactWrapper.class/class/on..st
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
as yet unclassified
instance creation
on: anArtifact
^ self new artifact: anArtifact; yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
directory tree
defaultDirectory

^ self workingCopyDirectory
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
private
excludeGitRepositoryDirectory: aFSFileDirectoryAdapter from: anArray
| index result |
result := anArray.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
directory tree
hasMoreDirectories: aDirectory
workingCopyDirectory = aDirectory ifTrue:
[^ "exclude .git" aDirectory asFSReference entries anySatisfy: [:each | each isDirectory and: [each basename ~= '.git']]].
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
directory tree
root

^ self workingCopyDirectory containingDirectory
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
directory tree
rootDirectoryList
"Only show the root of the working copy, nothing outside."
^ {self workingCopyDirectory}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
directory tree
subDirectoriesOf: aDirectory
"provide a list of subdirectory names sorted alphnum-no-case"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"class" : {
"openOn:label:" : "jr 9/6/2020 14:41" },
"instance" : {
"defaultDirectory" : "ct 10/26/2021 20:49",
"excludeGitRepositoryDirectory:from:" : "jr 9/6/2020 12:51",
"hasMoreDirectories:" : "jr 9/6/2020 13:00",
"root" : "ct 10/26/2021 19:58",
"rootDirectoryList" : "jr 9/6/2020 12:29",
"subDirectoriesOf:" : "jr 9/6/2020 12:49",
"workingCopyDirectory" : "jr 9/5/2020 19:08",
Expand Down
2 changes: 1 addition & 1 deletion src/Squit.package/SquitHistorianWrapper.class/class/on..st
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
as yet unclassified
instance creation
on: aHistorian
^ self new historian: aHistorian; yourself
2 changes: 1 addition & 1 deletion src/Squit.package/SquitVersionWrapper.class/class/on..st
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
as yet unclassified
instance creation
on: aVersion
^ self new version: aVersion; yourself