Boost logo

Boost :

From: Scott McMurray ([hidden])
Date: 2008-07-15 10:04:36

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() ) )
          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

Boost list run by bdawes at, gregod at, cpdaniel at, john at