| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 198548f commit 7dd2095
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -212,7 +212,7 @@ def name(self) -> str: | |||
| 212 | 212 | ||
| 213 | 213 | @property | |
| 214 | 214 | def abspath(self) -> PathLike: | |
| 215 | - """ | ||
| 215 | + R""" | ||
| 216 | 216 | :return: | |
| 217 | 217 | Absolute path to this index object in the file system ( as opposed to the | |
| 218 | 218 | .path field which is a path relative to the git repository ). | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -239,7 +239,7 @@ def stream_copy(source: BinaryIO, destination: BinaryIO, chunk_size: int = 512 * | |||
| 239 | 239 | ||
| 240 | 240 | ||
| 241 | 241 | def join_path(a: PathLike, *p: PathLike) -> PathLike: | |
| 242 | - """Join path tokens together similar to osp.join, but always use | ||
| 242 | + R"""Join path tokens together similar to osp.join, but always use | ||
| 243 | 243 | '/' instead of possibly '\' on windows.""" | |
| 244 | 244 | path = str(a) | |
| 245 | 245 | for b in p: | |
@@ -277,7 +277,7 @@ def to_native_path_linux(path: PathLike) -> str: | |||
| 277 | 277 | ||
| 278 | 278 | ||
| 279 | 279 | def join_path_native(a: PathLike, *p: PathLike) -> PathLike: | |
| 280 | - """ | ||
| 280 | + R""" | ||
| 281 | 281 | As join path, but makes sure an OS native path is returned. This is only | |
| 282 | 282 | needed to play it safe on my dear windows and to assure nice paths that only | |
| 283 | 283 | use '\'""" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments