Commit b846434
committed
path: rename function that detects end of filename
The function `only_spaces_and_dots` used to detect the end of the
filename on win32. Now we look at spaces and dots _before_ the end of
the string _or_ a `:` character, which would signify a win32 alternate
data stream.
Thus, rename the function `ntfs_end_of_filename` to indicate that it
detects the (virtual) end of a filename, that any further characters
would be elided to the given path.1 parent e1832eb commit b846434
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1641 | 1641 | | |
1642 | 1642 | | |
1643 | 1643 | | |
1644 | | - | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
1645 | 1654 | | |
1646 | 1655 | | |
1647 | 1656 | | |
| |||
1661 | 1670 | | |
1662 | 1671 | | |
1663 | 1672 | | |
1664 | | - | |
| 1673 | + | |
1665 | 1674 | | |
1666 | 1675 | | |
1667 | 1676 | | |
1668 | 1677 | | |
1669 | 1678 | | |
1670 | | - | |
| 1679 | + | |
1671 | 1680 | | |
1672 | 1681 | | |
1673 | 1682 | | |
| |||
1689 | 1698 | | |
1690 | 1699 | | |
1691 | 1700 | | |
1692 | | - | |
| 1701 | + | |
1693 | 1702 | | |
1694 | 1703 | | |
1695 | 1704 | | |
| |||
0 commit comments