Skip to content

Commit 60170e0

Browse files
authored
chore: sync-up catalog (#479)
- kata/extract-portion-of-file-name
1 parent 67953b6 commit 60170e0

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Codewars Handbook ☕️🚀
22

33
[![Views statistics +1 👀](https://img.shields.io/badge/dynamic/xml?color=success&label=views&query=//*[name()=%27text%27][3]&url=https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FParanoidUser%2Fcodewars-handbook)](https://hits.seeyoufarm.com/api/count/graph/dailyhits.svg?url=https://github.com/ParanoidUser/codewars-handbook)
4-
[![Completed kata 👌](https://img.shields.io/badge/completed%20kata-68.6%25-red.svg)](https://www.codewars.com/kata/search/java?xids=completed)
4+
[![Completed kata 👌](https://img.shields.io/badge/completed%20kata-68.5%25-red.svg)](https://www.codewars.com/kata/search/java?xids=completed)
55
[![CI pipeline 🛠](https://img.shields.io/github/actions/workflow/status/ParanoidUser/codewars-handbook/build.yml?branch=main)](https://github.com/ParanoidUser/codewars-handbook/actions/workflows/build.yml)
66
[![Quality gate 🔎](https://img.shields.io/sonar/alert_status/codewars-handbook?server=https%3A%2F%2Fsonarcloud.io)](https://sonarcloud.io/dashboard?id=codewars-handbook)
77
[![Let's have a chat! 📞](https://img.shields.io/gitter/room/ParanoidUser/codewars-handbook?color=49c39e)](https://gitter.im/ParanoidUser/codewars-handbook)

kata/6-kyu/extract-file-name/README.md renamed to kata/6-kyu/extract-portion-of-file-name/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [extract file name](https://www.codewars.com/kata/extract-file-name "https://www.codewars.com/kata/597770e98b4b340e5b000071")
1+
# [extract portion of file name](https://www.codewars.com/kata/extract-portion-of-file-name "https://www.codewars.com/kata/597770e98b4b340e5b000071")
22

33
You have to extract a portion of the file name as follows:
44
- Assume it will start with date represented as long number

kata/6-kyu/extract-file-name/main/FileNameExtractor.java renamed to kata/6-kyu/extract-portion-of-file-name/main/FileNameExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ interface FileNameExtractor {
22
static String extractFileName(String dirtyFileName) {
33
return dirtyFileName.substring(dirtyFileName.indexOf('_') + 1, dirtyFileName.lastIndexOf('.'));
44
}
5-
}
5+
}

kata/6-kyu/extract-file-name/test/FileNameExtractorTest.java renamed to kata/6-kyu/extract-portion-of-file-name/test/FileNameExtractorTest.java

File renamed without changes.

kata/6-kyu/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
- [Everybody hates Mondays](everybody-hates-mondays)
129129
- [Evil Autocorrect Prank](evil-autocorrect-prank)
130130
- [Experimenting with a sequence of complex numbers](experimenting-with-a-sequence-of-complex-numbers)
131-
- [Extract file name](extract-file-name)
131+
- [Extract portion of file name](extract-portion-of-file-name)
132132
# F
133133
- [Factors of triangle numbers](factors-of-triangle-numbers)
134134
- [Fat Fingers](fat-fingers)

kata/7-kyu/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@
383383
- [Prison Break](prison-break-1)
384384
- [Product Array (Array Series #5)](product-array-array-series-number-5)
385385
- [Product Of Maximums Of Array (Array Series #2)](product-of-maximums-of-array-array-series-number-2)
386-
- [Product of the main diagonal of a square matrix.](product-of-the-main-diagonal-of-a-square-matrix)
386+
- [Product of the main diagonal of a square matrix](product-of-the-main-diagonal-of-a-square-matrix)
387387
# Q
388388
- [Quicksum](quicksum)
389389
# R

0 commit comments

Comments
 (0)