Skip to content

Commit 59171ab

Browse files
atatt
1 parent a952f8a commit 59171ab

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

exemples/path/geting_sub_dirs_mul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ int main(){
66
DtwNamespace dtw = newDtwNamespace();
77

88
DtwPath * path = dtw.path.newPath("a/b/c/d.txt");
9-
char *dir = dtw.path.get_sub_dirs_from_index(path,0,2);
9+
char *dir = dtw.path.get_sub_dirs_from_index(path,1,2);
1010
printf("dir:%s\n",dir);
1111
dtw.path.free(path);
1212

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
dir:b/c/
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
0
2-
2
3-
1
4-
3
1+
5
52
4
3+
6
64
7
5+
3
76
8
8-
6
9-
5
10-
9
7+
9
8+
2
9+
1
10+
0

0 commit comments

Comments
 (0)