From 38a72d1f79d74439779f3d570d419b4a9494df28 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Mon, 8 Aug 2022 20:02:56 -0500 Subject: [PATCH] Making the software more modular. TO DO: refactor with improved #list method. --- repository/Fossil/FossilRepo.class.st | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/repository/Fossil/FossilRepo.class.st b/repository/Fossil/FossilRepo.class.st index 077e087..0dff006 100644 --- a/repository/Fossil/FossilRepo.class.st +++ b/repository/Fossil/FossilRepo.class.st @@ -334,6 +334,12 @@ FossilRepo >> lastVersionPath: aFileNameWithRelativePath [ { #category : #accessing } FossilRepo >> list [ + ^ (self command: 'ls') lines collect: [:line | line accentedCharactersCorrection ]. +] + +{ #category : #accessing } +FossilRepo >> listSeparatingMardeepFiles [ + | lines output markdeepFiles otherFiles | output := OrderedDictionary new. lines := (self command: 'ls') lines.