[filesystem] Following symlinks

15 Jul
2008
15 Jul
'08
2:04 p.m.
Suppose I want to add to simple_ls so it tells me the target of a symlink like ls -l does. else if ( fs::is_symlink( dir_itr->status() ) ) { ++other_count; std::cout << dir_itr->leaf() << " -> " << symlink_path(*dir_itr) << "\n"; } I haven't found any function to put in place of symlink_path. Is there one? It can't be a path decomposition, and the only other functions that return paths are current_path, initial_path, and the complete functions, so I don't think there is. ~ Scott
6178
Age (days ago)
6178
Last active (days ago)
0 comments
1 participants
participants (1)
-
Scott McMurray